community-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Bug 5561] FORGED_YAHOO_RCVD false positive
Date Wed, 07 Jun 2017 00:31:37 GMT
On 7 June 2017 at 00:30, Kevin A. McGrail <kevin.mcgrail@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-daemon@issues.apache.org
> To:     dev@spamassassin.apache.org
>
>
>
> https://bz.apache.org/SpamAssassin/show_bug.cgi?id=5561
>
> nomen nescio <info@nomennesc.io> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |info@nomennesc.io
>
> --- Comment #5 from nomen nescio <info@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-unsubscribe@community.apache.org
For additional commands, e-mail: dev-help@community.apache.org


Mime
View raw message