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/03/16 23:44:59 UTC

[Bug 4199] New: MSGID_RANDY meta rule is ignoring __MSGID_OK_DIGITS

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

           Summary: MSGID_RANDY meta rule is ignoring __MSGID_OK_DIGITS
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Rules
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: gurnec@gis.net


It looks like there's a copy-and-paste bug in the MSGID_RANDY meta rule:

# heuristic to eliminate most good Message-ID formats
header __MSGID_OK_HEX           Message-ID =~ /\b[a-f\d]{8}\b/
header __MSGID_OK_DIGITS        Message-ID =~ /\d{10}/
header __MSGID_OK_HOST          Message-ID =~ /\@(?:\D{2,}|(?:\d{1,3}\.){3}\d
{1,3})>/
meta MSGID_RANDY        (__MSGID_RANDY && !(__MSGID_OK_HEX || __MSGID_OK_HOST 
|| __MSGID_OK_HOST))

I'm guessing the intention was this:

meta MSGID_RANDY        (__MSGID_RANDY && !(__MSGID_OK_HEX || 
__MSGID_OK_DIGITS || __MSGID_OK_HOST))

I'll attach a patch against the current cvs. Thanks!



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

[Bug 4199] MSGID_RANDY meta rule is ignoring __MSGID_OK_DIGITS

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


quinlan@pathname.com changed:

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




------- Additional Comments From quinlan@pathname.com  2005-03-17 13:34 -------
fixed, thanks



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

[Bug 4199] MSGID_RANDY meta rule is ignoring __MSGID_OK_DIGITS

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





------- Additional Comments From gurnec@gis.net  2005-03-16 14:47 -------
Created an attachment (id=2705)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2705&action=view)
Fixes MSGID_RANDY meta rule

Changes first __MSGID_OK_HOST to __MSGID_OK_DIGITS



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