Matthias Apitz wrote:
> This is with version 3.4.0 on FreeBSD 11-CURRENT. If I run with the
> sample file:
> 
> $ spamassassin -tD < Mail-SpamAssassin-3.4.0/sample-spam.txt

> Why auto-learn wants the mail as HAM?

> it says on STDERR:
> ...
> nov  5 15:47:54.521 [3855] dbg: learn: auto-learn: currently using scoreset 1
> nov  5 15:47:54.521 [3855] dbg: learn: auto-learn: message score: 999.998, 
> computed score for autolearn: 0

This line reports the score used to decide which direction to autolearn.
 There are a number of conditions that mean the "normal" score on the
message is not the one used to decide on autolearn.

> nov  5 15:47:54.521 [3855] dbg: learn: auto-learn? ham=0.1, spam=12, 
> body-points=0, head-points=0, learned-points=0

This line reports the current thresholds for autolearn.

0 < 0.1, so if the message is to be autolearned, it should be learned as
ham.

> nov  5 15:47:54.521 [3855] dbg: learn: auto-learn? no: scored as spam but 
> autolearn wanted ham

This line reports that the live score (note, not the score used to
decide how to autolearn) scored as spam, so the message will not be
autolearned at all.

See the man page for Mail::SpamAssassin::Plugin::AutoLearnThreshold for
the full set of details.

-kgd

Reply via email to