This is an old revision of the document!


Table of Contents

Spamassassin

Setup on Debian for use with EXIM.

Install

apt-get install spamassassin sa-compile

Configure

Edit /etc/spamassassin/local.cf to add local rules.

compile-spamd.sh
#! /bin/sh
sa-compile
chown -R debian-spamd:debian-spamd /var/lib/spamassassin
chmod -R go-w,go+rX /var/lib/spamassassin/compiled
kill -HUP `cat /var/run/spamd.pid`
exit 0

Update

Run from cron once per day, week or month.

update-spamd.sh
#! /bin/sh
sa-update --nogpg
compile-spamd.sh
exit 0
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies