I have been running spamassassin for the past few months on my mail server.
I am in the process of upgrading my version to the latest release and was
wondering if someone can verify my procedure is correct as I have not done
this before.

Is there a way to backup my current running release incase I encounter any
issues and need to role back to my current configuration?

 

wget
http://apache.wildit.net.au/spamassassin/source/Mail-SpamAssassin-3.2.2.tar.
gz

cpan
install LWP::UserAgent
install HTTP::Date

tar xvzf Mail-SpamAssassin-3.2.2.tar.gz
perl Makefile.PL
make && make install

Here is my current local.cf file which is set to autolearn spam

required_score          5.0
report_safe             1
use_bayes               1
bayes_auto_learn        1
skip_rbl_checks 1
use_razor2              0
#use_dcc                 0
use_pyzor               0
#rbl_timeout 3
#ok_languages            en
ok_locales              en
#dns_available           no
#This is the directory and filename for Bayes databases
#bayes_path /var/qmail/spamassassin/
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status


sa-learn --sync
spamassassin -D --lint

spamassassin -t <
/usr/src/spamassasin/Mail-SpamAssassin-3.2.0/sample-nonspam.txt
spamassassin -t <
/usr/src/spamassasin/Mail-SpamAssassin-3.2.0/sample-spam.txt 

Reply via email to