Mailing List Archive

svn commit: rev 6776 - incubator/spamassassin/trunk/rules
Author: quinlan
Date: Thu Feb 19 02:05:49 2004
New Revision: 6776

Modified:
incubator/spamassassin/trunk/rules/70_testing.cf
Log:
change two of the lesser subrules for evil message-id


Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf (original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf Thu Feb 19 02:05:49 2004
@@ -494,14 +494,14 @@
# eliminate hex runs
header __MSGID_IDIOM_0 Message-ID =~ /\b[a-f\d]{8}/
header __MSGID_IDIOM_1 Message-ID =~ /\b[a-f\d]{8}\b/
-header __MSGID_IDIOM_2 Message-ID =~ /\b[a-f\d]{12}\b/
+header __MSGID_IDIOM_2 Message-ID =~ /\b(?:[a-f\d]{12}|[a-f\d]{8})\b/
# eliminate digit runs
header __MSGID_IDIOM_3 Message-ID =~ /\d{8}/
header __MSGID_IDIOM_4 Message-ID =~ /\d{10}/
header __MSGID_IDIOM_5 Message-ID =~ /\b\d{8}/
# eliminate plausible hostnames
header __MSGID_IDIOM_6 Message-ID =~ /\@\D{2,}>/
-header __MSGID_IDIOM_7 Message-ID =~ /\@(?:.*\b)?\D{2,}>/
+header __MSGID_IDIOM_7 Message-ID =~ /\@(?:\D{2,}|(?:\d{1,3}\.){3}\d{1,3})>/
header __MSGID_IDIOM_8 Message-ID =~ /\@(?:[a-z\d]+\.)?\D{2,}>/
meta T_MSGID_EVIL_1 (__MSGID_ESPAM && !__MSGID_IDIOM_0)
meta T_MSGID_EVIL_2 (__MSGID_ESPAM && !__MSGID_IDIOM_1)