How can my users feed back mail for the Bayesian learner?
If you want to set up site-wide use of Bayesian classification, you should set up a way for your users to send in misclassified mail to be "learned" from.
A good way is to set up a mailbox where users can send verified spam, or verified non-spam, for the learner to learn from.
One issue here is that you will need all the headers of those messages for the learner to work effectively, including the Received headers. A few mail user agents strip off those headers. For users using Outlook 2000, get them to use
(double-click to open the mail in its own window) -> Actions -> Resend This Message
and bounce it to the mailbox address. Then run a cron job intermittently to learn all the mails in that mailbox as spam (or non-spam).
For those who want an "easier" way, and that also works with Outlook Express AND Outlook... (This also allows users to submit many mail pieces at once.) This maintains full headers
Create a *new* mail message. Resize the windows so that you can see your new message as well as the main OE/O window. Select the messages you want to send as Spam or Ham (probably not both in the same message) and drag them "into" the new message. This will send all the messages as attachments to the main email.
Than as an admin, I like to review all these submissions to be sure they are really valid to submit to Bayes for training. I open the mail account with IMAP - usually using OE, and drag the appropriate attached messages to the IMAP folder(s) I want to feed to sa-learn. This allows you to review all messages before they're learned, and gives the users a pretty easy way to submit FP's & FN's as well as any other submissions you need.
(I also setup to "drop boxes" for mail - say qqqspam and qqqnospam - as re-iterated below, make them difficult to "guess" as you don't want spammers filling up your spam or ham drop)
For MUAs (Like Netscape/Mozilla) that do a good job with keeping original headers intact, (almost) all you need to do is forward the email to the feedback account and strip off the header added by the forward. See BayesFeedbackViaForwarding for details.
Another option, and one that's easier for most users to use, is to set up two public IMAP folders on your IMAP server, one for MissedSpam, one for NotSpam.
Then ask your users to move messages that SpamAssassin misses into the MissedSpam folder, and move messages that SpamAssassin marked incorrectly as spam into the NotSpam folder.
You can then run sa-learn from a cron job over those folders to update the Bayesian databases.
How to set up site wide aliases on postfix where ham and spam can be sent for learning with Postfix
[http://jousset.org/pub/sa-postfix.en.html The cookbook is available at http://jousset.org/pub/sa-postfix.en.html\], it works fine for [http://www.postfix.org/ postfix]. Note: don't call your aliases spam and ham unless you want spammers to flood the ham box