junk

How do I train SpamAssassin to improve its recognition of spam (unwanted mail) and ham (desirable mail)?

In order for SpamAssassin to be accurate, you must train it on your specific mail patterns. SpamAssassin has a Bayesian classifier that can be used to help refine the classification of spam mail. The sa-learn interface allows you to train SpamAssassin to recognize good mail and junk mail.

You need to train with both spam and ham mails. One type of mail alone will not have any effect.

To filter for spam: