Description

Spam Assassin is a perl-based software that helps users detect and filter 'spam' email.

MiniFAQ


Setup

Spam assassin with procmail
Spam assassin works well with procmail, our default mail delivery agent. (Please look at our howto for procmail for help on setting up initial .procmailrc) The following two lines need to be put in user's .procmailrc directory:

:0fw
| /usr/local/bin/spamc


By default, spam assassin will add the following header lines
X-spam-status: Yes
or
X-spam-status: No
If mail is tagged as spam, it can then be caught by the following procmail recipe:

:0:
* ^X-Spam-Status: Yes
spamfolder


Spam assassin with .maildelivery