spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarti...@apache.org
Subject svn commit: r689837 - /spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf
Date Thu, 28 Aug 2008 14:40:22 GMT
Author: mmartinec
Date: Thu Aug 28 07:40:21 2008
New Revision: 689837

URL: http://svn.apache.org/viewvc?rev=689837&view=rev
Log:
FROM_UNBAL1, FROM_UNBAL2, FROM_UC_UNBAL rules

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=689837&r1=689836&r2=689837&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf (original)
+++ spamassassin/rules/trunk/sandbox/mmartinec/20_misc.cf Thu Aug 28 07:40:21 2008
@@ -15,9 +15,21 @@
 header   CR_IN_SUBJ	Subject =~ /\015/
 describe CR_IN_SUBJ	Subject contains a CR character
 
+header   FROM_UNBAL1	From =~ / < [^>]* $/xm
+describe FROM_UNBAL1	From with unbalanced angle brackets, '>' missing
+
+header   FROM_UNBAL2	From =~ /^ [^<]* > /xm
+describe FROM_UNBAL2	From with unbalanced angle brackets, '<' missing
+
+header   FROM_UC_UNBAL	From =~ /^\s*[A-Z][A-Z0-9 \t]*<[A-Z0-9]+\@[^>]*$/m
+describe FROM_UC_UNBAL	All-upercase name in From and unbalanced <>
+
 
 #score   RP_8BIT	2.8
 #score   RP_LASTNAME	4
 #score   RP_UNDERLINE	3
 #score   RP_MINUS	2
 #score   CR_IN_SUBJ	7
+#score   FROM_UNBAL1	3
+#score   FROM_UNBAL2	3
+#score   FROM_UC_UNBAL	6



Mime
View raw message