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
wget http://www.fsl.com/support/Rules_Du_Jour.tar.gz
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
/etc/cron.daily/rules_du_jour_wrapper
sa-update

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

Next do:

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

Suggested articles

1 Comment(s)

Add comment

Comments

By:

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

<quote>

cd /root

wget http://www.dcc-servers.net/dcc/source/dcc.tar.Z

gunzip dcc.tar.Z

tar -xvf dcc.tar

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

./configure

make

make install

 </quote>

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

./configure --bindir=/usr/bin

and everything should be fine.