On 2019-03-17 5:43 p.m., @lbutlr wrote:
On 17 Mar 2019, at 15:03, James <bjloc...@lockie.ca> wrote:
I run sa-learn --ham on my inboxes.

You inboxes likely contain spam messages that haven't been caught, so training 
on inbox will poison your bayes in favor of more spam. Unless your inbox is 
perfect (entirely devoid of spam and containing only desired messages) you 
should not do this.

The documentation says to use your inbox. :-)

http://svn.apache.org/repos/asf/spamassassin/branches/3.4/README

Learning
--------

Apache SpamAssassin includes a Bayesian learning filter, so it is worthwhile
training Apache SpamAssassin with your collection of non-spam and spam,
if possible.  This will make it more accurate for your incoming mail.
Do this using the "sa-learn" tools, like so:

        sa-learn --spam ~/Mail/saved-spam-folder
        sa-learn --ham ~/Mail/inbox
        sa-learn --ham ~/Mail/other-nonspam-folder


Reply via email to