On 7 June 2017 at 00:30, Kevin A. McGrail <kevin.mcgr...@mcgrail.com> 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:   bugzilla-dae...@issues.apache.org
> To:     d...@spamassassin.apache.org
>
>
>
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5561
>
> nomen nescio <i...@nomennesc.io> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |i...@nomennesc.io
>
> --- Comment #5 from nomen nescio <i...@nomennesc.io> ---
> 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: dev-unsubscr...@community.apache.org
For additional commands, e-mail: dev-h...@community.apache.org

Reply via email to