This is a very quick reference to setting up server-sied spam filtering on CSA. See the full document for a thorough discussion.
cp /usr/local/share/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/Savedspamprobe -c spam mail/Spamcp /usr/local/share/spamprobe.ex .procmailrc
next. 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 train-good instead.)spamprobe cleanup periodically -- 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 -e and add a line like this:
0 1 * * * /usr/local/bin/spamprobe cleanupwhich runs
spamprobe cleanup every morning at 1am.