Thursday, March 23, 2006

Spam Spam Spam Spam

There are now several people who depend on my server for email including Ian Bruce and Nick they have all been complaining about the amount of spam mail reiceved so I finally decided to bit the bullet and have found a great guide which I followed and as of now all mail is parsed by spamassasin and clamav.

Hopefully it should start to make an impact on spam, I aisde from the guide I also turned on a few extra option to make spamassasin more effective, I installed razor an online spam database

Razor


To install razor
apt-get install razor

You need to register by running
razor-client [creates symbolic links]
razor-admin --create [creates the razor home]
razor-admin --register [registers an account]

Baysian Filtering


To add baysian filtering to spamassasin

Create a directory
mkdir /var/spool/spamassassin/bayes
it need to be world writable so
chmod 666 /var/spool/spamassassin/bayes
Finally add the following to /etc/spamassasin/local.cf
bayes_path /var/spool/spamassassin/bayes
bayes_file_mode 0666

No comments: