You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2014/12/04 15:55:57 UTC

[Bug 7110] New: Scoring ignores use_bayes_rules when choosing which score set to use

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: dev@spamassassin.apache.org
          Reporter: bruce@untroubled.org

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.