This is an old revision of the document!


Table of Contents

Install

apt-get install spamassassin sa-compile

Configure

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 for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information