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:

Suggested articles

1 Comment(s)

Add comment



This really doesn't have to happen. Later on this guide we compile dcc.


cd /root


gunzip dcc.tar.Z

tar -xvf dcc.tar

cd dcc-1.3.45     ##or whatever version is current.



make install


Simply add to the ./configure line  --bindir=/usr/bin , it should look like this:

./configure --bindir=/usr/bin

and everything should be fine.