Peter Marshall wrote:
> What do I have to put in the local.cf file to tell spam assasin to
> mark a particular email as spam ?

Depends on what charachteristics of the email you're interested in
picking up on.

If you merely want to blacklist all mail from the sender, you want to
use a blacklist_from command.

If you know the email is addressed To: an invalid user (but delivered to
a valid one) you could use blacklist_to.

Both of the above are covered in:
http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Conf.html#whitelist_and_blacklist_options

If there are particular phrases of subject of body text, you'll have to
write a simple custom rule:

http://wiki.apache.org/spamassassin/WritingRules

Or try to find an already written add-on set that covers it:
http://wiki.apache.org/spamassassin/CustomRulesets
http://www.rulesemporium.com/rules.htm


Reply via email to