You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/12/06 18:00:10 UTC

svn commit: r483150 - /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm

Author: jm
Date: Wed Dec  6 09:00:08 2006
New Revision: 483150

URL: http://svn.apache.org/viewvc?view=rev&rev=483150
Log:
bug 4528: fix false positives on Yahoo corporate mail and Yahoo Auto Responses from FORGED_YAHOO_RCVD

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm?view=diff&rev=483150&r1=483149&r2=483150
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HeaderEval.pm Wed Dec  6 09:00:08 2006
@@ -498,9 +498,13 @@
 
   # bug 3740: ignore bounces from Yahoo!.   only honoured if the
   # correct rDNS shows up in the trusted relay list, or first untrusted relay
-  if ($from eq 'MAILER-DAEMON@yahoo.com' &&
-      ($pms->{relays_trusted_str} =~ / rdns=\S+\.yahoo\.com /
-        || $pms->{relays_untrusted_str} =~ /^[^\]]+ rdns=\S+\.yahoo\.com /))
+  #
+  # bug 4528: [ ip=68.142.202.54 rdns=mta122.mail.mud.yahoo.com 
+  # helo=mta122.mail.mud.yahoo.com by=eclectic.kluge.net ident=
+  # envfrom= intl=0 id=49F2EAF13B auth= ]
+  #
+  if ($pms->{relays_trusted_str} =~ / rdns=\S+\.yahoo\.com /
+        || $pms->{relays_untrusted_str} =~ /^[^\]]+ rdns=\S+\.yahoo\.com /)
             { return 0; }
 
   if ($rcvd =~ /by web\S+\.mail\S*\.yahoo\.com via HTTP/) { return 0; }