spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k.@apache.org
Subject svn commit: r967120 - /spamassassin/trunk/rules/20_head_tests.cf
Date Fri, 23 Jul 2010 15:00:59 GMT
Author: kb
Date: Fri Jul 23 15:00:59 2010
New Revision: 967120

URL: http://svn.apache.org/viewvc?rev=967120&view=rev
Log:
Ensure RCVD_ILLEGAL_IP only matches on IPs, bug 6460.  Remove 169.254/16
assigned as "link local" block, bug 6465.


Modified:
    spamassassin/trunk/rules/20_head_tests.cf

Modified: spamassassin/trunk/rules/20_head_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/20_head_tests.cf?rev=967120&r1=967119&r2=967120&view=diff
==============================================================================
--- spamassassin/trunk/rules/20_head_tests.cf (original)
+++ spamassassin/trunk/rules/20_head_tests.cf Fri Jul 23 15:00:59 2010
@@ -416,7 +416,7 @@ describe __VIA_ML  Mail from a mailing l
 
 
 # must keep it in sync with http://www.iana.org/assignments/ipv4-address-space/
-header RCVD_ILLEGAL_IP		X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?:[05]|14|23|3[1679]|4[29]|1(?:0[0-6]|7[679]|8[15])|2(?:2[4-9]|[3-5]\d)|169\.254|192\.0\.2|198\.51\.100|203\.0\.113)\./
+header RCVD_ILLEGAL_IP		X-Spam-Relays-Untrusted =~ / (?:by|ip)=(?=\d+\.\d+\.\d+\.\d+ )(?:[05]|14|23|3[1679]|4[29]|1(?:0[0-6]|7[679]|8[15])|2(?:2[4-9]|[3-5]\d)|192\.0\.2|198\.51\.100|203\.0\.113)\./
 describe RCVD_ILLEGAL_IP	Received: contains illegal IP address
 
 



Mime
View raw message