You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2010/12/05 00:53:14 UTC

svn commit: r1042265 - /spamassassin/branches/3.3/rules/20_head_tests.cf

Author: mmartinec
Date: Sat Dec  4 23:53:14 2010
New Revision: 1042265

URL: http://svn.apache.org/viewvc?rev=1042265&view=rev
Log:
Bug 6460: RCVD_ILLEGAL_IP false positives

Modified:
    spamassassin/branches/3.3/rules/20_head_tests.cf

Modified: spamassassin/branches/3.3/rules/20_head_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.3/rules/20_head_tests.cf?rev=1042265&r1=1042264&r2=1042265&view=diff
==============================================================================
--- spamassassin/branches/3.3/rules/20_head_tests.cf (original)
+++ spamassassin/branches/3.3/rules/20_head_tests.cf Sat Dec  4 23:53:14 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+ )(?:0|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