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/04/15 13:31:44 UTC

[Bug 4261] New: gated_through_received_hdr_remover misses some ezmlm lists

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

           Summary: gated_through_received_hdr_remover misses some ezmlm
                    lists
           Product: Spamassassin
           Version: 3.0.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Rules (Eval Tests)
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: chris.lear@laculine.com


The gated_through_received_hdr_remover check looks for
$rcvd =~ /qmail \d+ invoked by .{3,20}\); \d+ ... \d+/)

Some ezmlm implementations have the header
Received: (qmail 11084 invoked from network);

This isn't spotted. A possible change, which seems to work for me, is to replace
the regexp with

$rcvd =~ /qmail \d+ invoked .{3,23}\); \d+ ... \d+/)

I noticed this because bugtraq mail from yahoo addresses is hitting
FORGED_YAHOO_RCVD, which depends on the gated_through_received_hdr_remover
check. And the relevent bugtraq headers are:

Delivered-To: mailing list bugtraq@securityfocus.com
Delivered-To: moderator for bugtraq@securityfocus.com
Received: (qmail 11084 invoked from network); 2 Apr 2005 10:16:47 -0000



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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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





------- Additional Comments From spamassassin@dostech.ca  2005-05-02 20:34 -------
Subject: Re:  gated_through_received_hdr_remover misses some ezmlm
 lists

Yeah, I don't understand that comment (in the code) -- I'm not sure what 
FPs you were referring to.  The outer block already checks to see if it 
was an ezmlm list message, so I'd imagine checking for 'invoked by 
network' would be OK.





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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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


jm@jmason.org changed:

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




------- Additional Comments From jm@jmason.org  2005-05-17 18:55 -------
OK, I tested using my last 8000 ham/spam, and got absolutely no difference in
hits.  looks good!  r170697.



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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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





------- Additional Comments From jm@jmason.org  2005-05-02 20:26 -------
I have no idea at this stage ;)  I think testing will be required.



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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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





------- Additional Comments From chris.lear@laculine.com  2005-04-15 04:35 -------
Created an attachment (id=2794)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2794&action=view)
EvalTests.pm patch

Possible patch to EvalTests.pm



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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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


Bob@Menschel.net changed:

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




------- Additional Comments From Bob@Menschel.net  2005-04-23 16:48 -------
Triage: Since such a simple patch was supplied, it'd be worth testing to see if
this works without problems and can be added into 3.1.0.



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

[Bug 4261] gated_through_received_hdr_remover misses some ezmlm lists

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





------- Additional Comments From spamassassin@dostech.ca  2005-05-02 19:23 -------
We used to look for 'qmail \d+ invoked from network' but Justin put a comment in
the code saying "I've found FPs where it did not appear in the mail".

I'm assuming that means that he's seen FPs with 'invoked from network' in mail
that wasn't from ezmlm, which makes sense since qmail can be 'invoked from
network' by numerous other processes.



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