https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7013
Kevin A. McGrail <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Kevin A. McGrail <[email protected]> --- Testing this patch to commit if you want to patch your installation: Index: lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm =================================================================== --- lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm (revision 1569155) +++ lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm (working copy) @@ -241,7 +241,7 @@ my $tests = $scan->get_tag('TESTS'); if (defined $tests && $tests ne 'none') { my %t = map { ($_,1) } split(/,/, $tests); - if ($isspam && $t{'BAYES_99'} || !$isspam && $t{'BAYES_00'}) { + if ($isspam && ($t{'BAYES_99'} || $t{'BAYES_999'}) || !$isspam && $t{'BAYES_00'}) { dbg("learn: auto-learn? no: learn-on-error, %s, already classified ". "as such", $isspam ? 'spam' : 'ham'); return; -- You are receiving this mail because: You are the assignee for the bug.
