Set Up Ubuntu-Server 6.10 As A Firewall/Gateway For Your Small Business Environment - Page 8

Now we want some rules for spamassassin to do a better job.

First edit /etc/MailScanner/spam.assassin.prefs.conf. Comment out "dcc_path /usr/bin/dccproc"  (this is a workaround, please contribute to this if you can).

Next do:

cd /root
tar -zxvf Rules_Du_Jour.tar.gz
cd rules_du_jour
mkdir /etc/rulesdujour
cp config /etc/rulesdujour/config
cp rules_du_jour /usr/bin
cp rules_du_jour_wrapper /etc/cron.daily
cd /etc/spamassassin
mkdir old
mv *.cf old

Now make the last command a cron job, say once a week.

Next do:

ln -s /etc/MailScanner/spam.assassin.prefs.conf /etc/spamassassin/
Share this page:

1 Comment(s)