https://issues.apache.org/SpamAssassin/show_bug.cgi?id=7110
Bug ID: 7110
Summary: Scoring ignores use_bayes_rules when choosing which
score set to use
Product: Spamassassin
Version: 3.4.0
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
If use_bayes is set true but use_bayes_rules is set false, the scoring system
incorrectly uses the second pair of scores instead of the first pair.
As far as I can tell, this is because on lines 843 and 1780 of
lib/Mail/SpamAssassin.pm it only checks if Bayes scanning was enabled, and does
not check if use_bayes_rules is set false:
$set |= 2 if $self->{bayes_scanner} &&
$self->{bayes_scanner}->is_scan_available();
lib/Mail/SpamAssassin/PerMsgStatus.pm line 379 is similar.
--
You are receiving this mail because:
You are the assignee for the bug.