Hello,

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

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
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
nov  5 15:47:54.521 [3855] dbg: learn: auto-learn? no: scored as spam but 
autolearn wanted ham
nov  5 15:47:54.521 [3855] dbg: check: is spam? score=999.998 required=3
...

and returns the mail with this header:

...
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on c720-r276659
X-Spam-Flag: YES
X-Spam-Level: **************************************************
X-Spam-Status: Yes, score=1000.0 required=3.0 tests=GTUBE,NO_RECEIVED,
        NO_RELAYS autolearn=no autolearn_force=no version=3.4.0
X-Spam-Report: ++++++++++++++++++++++++++++++++++++++++++++++++++
        * 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
        * -0.0 NO_RELAYS Informational: message was not relayed via SMTP
        * -0.0 NO_RECEIVED Informational: message has no Received
        * headers
...

Why auto-learn wants the mail as HAM?

        matthias



-- 
Matthias Apitz, ✉ g...@unixarea.de, 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045

Reply via email to