https://issues.apache.org/SpamAssassin/show_bug.cgi?id=5503

Kevin A. McGrail <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Kevin A. McGrail <[email protected]> ---
Clarified autolearn_force by adding debug output.  The output will now tell you
what rules were flagged autolearn_force as well as telling you autolearn_force
status yes/no if the auto-learn is yes.

Jan 10 18:01:57.661 [21198] dbg: learn: auto-learn: autolearn_force flagged for
a rule. Removing seperate body and head point threshold. Body Only Points: 0
(-99 req'd) / Head Only Points: 13.626 (-99 req'd)
Jan 10 18:01:57.661 [21198] dbg: learn: auto-learn: autolearn_force flagged
because of rule(s): AUTOLEARNTEST_FROM_HEADER
Jan 10 18:01:57.661 [21198] dbg: learn: auto-learn? yes, spam (13.626 > 12)
autolearn_force=yes

Additionally, should also now build things status lines like:

X-Spam-Status: Yes, score=6.0 required=5.0 tests=AUTOLEARNTEST_BODY,
        RP_MATCHES_RCVD,T_FSL_HELO_NON_FQDN_2,T_HEADER_FROM_DIFFERENT_DOMAINS,
        T_MSGID_NOFQDN2,T_NOT_A_PERSON autolearn=spam autolearn_force=yes
        (AUTOLEARNTEST_BODY) version=3.4.0-rc3


svn commit -m 'Added autolearn_force debugging and logging - bug 5503'
lib/Mail/SpamAssassin/PerMsgStatus.pm 
lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm t/autolearn_force.t
Sending        lib/Mail/SpamAssassin/PerMsgStatus.pm
Sending        lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm
Sending        t/autolearn_force.t
Transmitting file data ...
Committed revision 1557310.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to