Seems like a reasonable change.
On 6/7/2017 3:41 PM, Kevin A. McGrail wrote:
Because these changes are hard-coded (ugh) and I hate making
hard-coded changes to the received header parsing, does anyone have
any comments on this bug?
-------- 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.