On 7 June 2017 at 00:30, Kevin A. McGrail <[email protected]> wrote: > I hate making these hard-coded received header parsing. Any comments on > this bug?
Wrong mailing list? > > > -------- Forwarded Message -------- > Subject: [Bug 5561] FORGED_YAHOO_RCVD false positive > Date: Tue, 06 Jun 2017 09:17:50 +0000 > From: [email protected] > To: [email protected] > > > > https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5561 > > nomen nescio <[email protected]> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |[email protected] > > --- Comment #5 from nomen nescio <[email protected]> --- > Mails with the following (and similar) received headers also falsely > triggered > FORGED_YAHOO_RCVD: > > Received: from sonic.gate.mail.ne1.yahoo.com by > sonic309.consmr.mail.bf2.yahoo.com with HTTP; Fri, 2 Jun 2017 11:11:30 +0000 > > The following patch fixed the issue: > > Index: lib/Mail/SpamAssassin/Plugin/HeaderEval.pm > =================================================================== > --- lib/Mail/SpamAssassin/Plugin/HeaderEval.pm (revision 1797757) > +++ lib/Mail/SpamAssassin/Plugin/HeaderEval.pm (working copy) > @@ -528,6 +528,7 @@ > { return 0; } > > if ($rcvd =~ /by web\S+\.mail\S*\.yahoo\.com via HTTP/) { return 0; } > + if ($rcvd =~ /by \S+\.mail\S*\.yahoo\.com with HTTP/) { return 0; } > if ($rcvd =~ /by smtp\S+\.yahoo\.com with SMTP/) { return 0; } > my $IP_ADDRESS = IP_ADDRESS; > if ($rcvd =~ > > -- > You are receiving this mail because: > You are the assignee for the bug. > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
