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 2005/07/20 20:28:48 UTC

[Bug 4492] New: bayes_ignore_header matching is case sensitive

http://bugzilla.spamassassin.org/show_bug.cgi?id=4492

           Summary: bayes_ignore_header matching is case sensitive
           Product: Spamassassin
           Version: 3.0.4
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Learner
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: dharris@drh.net


The header specified with the base_ignore_header config is matched against 
actual headers in a case sensitive manner. I think that it should be case 
insensitive.

On my installation I decided to ignore the To, Cc, and Bcc headers from the 
bayes learning, because I have users reporting spam into a global bayes 
database. If one user happens to report lots of spam, I don't want bayes to 
learn that their address means spam.

This didn't work properly until I found this bug and used this config:

bayes_ignore_header to
bayes_ignore_header tO
bayes_ignore_header To
bayes_ignore_header TO
bayes_ignore_header cc
bayes_ignore_header cC
bayes_ignore_header Cc
bayes_ignore_header CC
bayes_ignore_header bcc
bayes_ignore_header bcC
bayes_ignore_header bCc
bayes_ignore_header bCC
bayes_ignore_header Bcc
bayes_ignore_header BcC
bayes_ignore_header BCc
bayes_ignore_header BCC



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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492





------- Additional Comments From jm@jmason.org  2006-08-02 09:17 -------
+1



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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492


parkerm@pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 2 votes               |needs 1 vote




------- Additional Comments From parkerm@pobox.com  2006-08-02 00:35 -------
+1



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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492


maddoc@maddoc.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Status Whiteboard|needs 1 vote                |can be commited




------- Additional Comments From maddoc@maddoc.net  2006-08-02 03:00 -------
+1



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

[Bug 4492] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4492





------- Additional Comments From jm@jmason.org  2005-07-20 12:00 -------
agreed, should be case-i



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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492


felicity@apache.org changed:

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




------- Additional Comments From felicity@apache.org  2006-08-20 18:41 -------
Sending        lib/Mail/SpamAssassin/Bayes.pm
Transmitting file data .
Committed revision 433002.

:)



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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|bayes_ignore_header matching|[review] bayes_ignore_header
                   |is case sensitive           |matching is case sensitive
  Status Whiteboard|                            |needs 2 votes






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

[Bug 4492] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|Undefined                   |3.1.5




------- Additional Comments From felicity@apache.org  2006-08-02 00:18 -------
3.2:
Sending        lib/Mail/SpamAssassin/Bayes.pm
Transmitting file data .
Committed revision 427817.




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

[Bug 4492] [review] bayes_ignore_header matching is case sensitive

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4492





------- Additional Comments From felicity@apache.org  2006-08-02 00:20 -------
Created an attachment (id=3621)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=3621&action=view)
suggested patch




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