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

Want to support HowtoForge? Become a subscriber!
Submitted by tycho (Contact Author) (Forums) on Sat, 2006-11-18 22:15. ::

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/

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by pasaporte (registered user) on Fri, 2007-04-20 19:34.

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.