On 01/17/2018 11:59 AM, Giovanni Bechis wrote:
On 01/17/18 07:14, Pedro David Marco wrote:
Hi,

FORGED_HOTMAIL_RCVD2 (hotmail.com 'From' address, but no 'Received:') triggers 
for valid hotmail messages...  (SA 3.4.1)

This small change solves the problem but i do not know whether it is the correct way...    maybe 
"hotmail" string should be changed widelly to "outlook|hotmail"...

/usr/local/share/perl/5.14.2/Mail/SpamAssassin/Plugin/HeaderEval.pm.orig
357c357
<   if ($rcvd =~ /from \S*\.hotmail.com \(\[$IP_ADDRESS\][ \):]/ && $ip)
---
    if ($rcvd =~ /from \S*\.(?:outlook|hotmail)\.com \(\[$IP_ADDRESS\][ \):]/ 
&& $ip)


-----
PedroD
Can you provide an email sample for a valid email message that triggers this 
rule ?
  Thanks
   Giovanni


I am seeing about a hundred false positives a day in my mail flow:

https://pastebin.com/wQwACuhB

Definitely need to get a bug entered and patch HeaderEval.pm soon for version 3.4.2.

--
David Jones

Reply via email to