Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: missing edit-log entry for this revision

...

No Format
debug: bayes: Not available for scanning, only 0 spam(s) in 
Bayes DB < 200

Still No Bayes Filtering? Watch out for the "rebuild" option!

If you find that SA never seems to learn messages, try using sa-learn --dump magic to find out more about your database. The line "nham" is the number of ham messages SA has learned, and the line "nspam" is the number of spam messages SA has learned.

There's a subtle gotcha in the options. The command sa-learn --no-rebuild --spam spam_directory works. However, the command sa-learn --rebuild --spam spam_directory will not work; it will rebuild but not learn!

To defer rebuilding until after all the messages have been learned, use:

No Format

sa-learn --ham --no-rebuild ham_directory
sa-learn --spam --no-rebuild spam_directory
sa-learn --rebuild