You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by ya...@apache.org on 2004/05/12 05:10:27 UTC

svn commit: rev 10597 - incubator/spamassassin/trunk/rules

Author: yackley
Date: Tue May 11 20:10:26 2004
New Revision: 10597

Modified:
   incubator/spamassassin/trunk/rules/70_testing.cf
Log:
Added rules to check From addresses for high numbered MX hosts.

Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Tue May 11 20:10:26 2004
@@ -320,3 +320,9 @@
 header T_MSGID_CHARS_BANG	MESSAGEID =~ /\!/
 header T_MSGID_CLOSE_TWICE_1	MESSAGEID =~ />.*>/
 header T_MSGID_CLOSE_TWICE_2	MESSAGEID =~ />>/
+
+# I've added a few different versions just in case the first hits ham to hard
+header T_MANY_MX_1 From =~ /\@mx\d{2,4}\..{1,30}\./i
+header T_MANY_MX_2 From =~ /\@mx\d{2,4}\..{1,30}\.(?:biz|us)/i
+header T_MANY_MX_3 From =~ /\@mx[2-9]\d{1,3}\..{1,30}\./i
+header T_MANY_MX_4 From:addr =~ /\@mx\d{1,4}\..{1,30}\./i