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 2008/10/03 19:53:04 UTC

svn commit: r701465 - /spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf

Author: mmartinec
Date: Fri Oct  3 10:53:04 2008
New Revision: 701465

URL: http://svn.apache.org/viewvc?rev=701465&view=rev
Log:
new rules: MSGID_NOFQDN1, MSGID_NOFQDN2

Modified:
    spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf

Modified: spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf?rev=701465&r1=701464&r2=701465&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf (original)
+++ spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf Fri Oct  3 10:53:04 2008
@@ -34,6 +34,10 @@
 header   MSGID_WSP_TRAIL Message-ID:raw =~ /< [^>]* \s > [^<>]* \z/xm
 describe MSGID_WSP_TRAIL Trailing whitespace before '>' in Message-ID header
 
+header   MSGID_NOFQDN1  Message-ID =~ /<[^\@]*>/m
+describe MSGID_NOFQDN1  Message-ID with no domain name
+header   MSGID_NOFQDN2  Message-ID =~ /<.*\@[A-Za-z0-9]+>/m
+describe MSGID_NOFQDN2  Message-ID without a fully-qualified domain name
 
 #score   RP_8BIT	2.8
 #score   RP_LASTNAME	4
@@ -46,3 +50,5 @@
 #score   FROM_WSP_TRAIL	2
 #score   FROM_WSP_LEAD	2
 #score   MSGID_WSP_TRAIL 2
+#score   MSGID_NOFQDN1  1
+#score   MSGID_NOFQDN2  1