This is a very quick reference to setting up server-side spam filtering on CSX. See the full document for a thorough discussion.
cp /pub/htdocs/spamassassin.ex .procmailrc should
be all that's required to get SpamAssassin going. The effect
is that all mail presumed by SpamAssassin to be spam is filed in
a folder named Spam instead of the user's inbox. (By default, the
folder is under the directory ~/mail.)
Generally, there are a few stages to implementing Spamprobe:
spamprobe -c good mail/Saved
spamprobe -c spam mail/Spam
cp /pub/htdocs/spamprobe.ex .procmailrcnext. This gives you similar results to SpamAssassin above, but also continues to train Spamprobe.
spamprobe train-spam File(if it's a false negative; if it's a false positive -- far less common -- use
spamprobe cleanupperiodically -- at least daily is vital to keep disk usage down. (Failure to do so that causes disk overuse may result in deletion of spamprobe databases, requiring starting training over.) One way to automate this would be to run
crontab -eand add a line like this:
0 1 * * * /usr/bin/spamprobe cleanupwhich runs
spamprobe cleanupevery morning at 1am.