Monday, October 09, 2006

train SpamAssassin

If you want to teach SpamAssassin and you are using pine, create two new folders e.g.
train-spam
train-ham
save the spam to train-spam and the non-spam mails to train-ham.

And tell SpamAssassin:
sa-learn --mbox --spam ~/mail/spam-train
sa-learn --mbox --ham /var/mail/{username}

No comments: