How do I train SpamBayes (web method)?
Follow the “Review messages” link and you’ll see a list of the emails that the system has seen so far. Check the appropriate boxes and hit Train. The messages disappear and if you go back to the home page you’ll see that the “Total emails trained” has increased. Once you’ve done this on a few spams and a few hams, you’ll find that the X-Spambayes-Classification header is getting it right most of the time. The more you train it the more accurate it gets, but not that you should try to train it on about the same number of spams as hams. The SpamBayes wiki has some information about training that you may wish to read. You can train it on lots of messages in one go by either using the sb_filter script as explained in the “Command-line training” section, or by giving messages to the web interface via the “Train” form on the Home page. You can train on individual messages (which is tedious), using mbox files or using Outlook Express dbx files.