adding three new rules to test scoring messages with too many recipients.
authorCord Beermann <cord@debian.org>
Sat, 3 Sep 2011 07:56:00 +0000 (07:56 +0000)
committerCord Beermann <cord@debian.org>
Sat, 3 Sep 2011 07:56:00 +0000 (07:56 +0000)
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-listmaster/trunk/spamassassin_config@368 0b7a5b0c-1f2c-0410-bd74-c376f8064c91

common/list_specific

index ec511e9..636752c 100644 (file)
@@ -80,6 +80,19 @@ meta          MAJORDOMOWHITE (MAJORDOMO && (NOSUBJECT || MISSING_SUBJECT))
 describe MAJORDOMOWHITE        Counteract no subject score for majordomo mails
 score   MAJORDOMOWHITE -3
 
+# count recipients and score those with Too Many. -cord
+describe TO_TOO_MANY To: too many recipients
+header   TO_TOO_MANY To =~ /(?:,[^,]{1,80}){5}/
+score    TO_TOO_MANY 0.1
+
+describe TO_WAY_TOO_MANY To: way too many recipients
+header   TO_WAY_TOO_MANY To =~ /(?:,[^,]{1,80}){10}/
+score    TO_WAY_TOO_MANY 0.1
+
+describe CC_TOO_MANY CC: too many recipients
+header   CC_TOO_MANY CC =~ /(?:,[^,]{1,80}){10}/
+score    CC_TOO_MANY 0.1
+
 score CORRUPT_FROM_LINE_IN_HDRS        0
 score FM_DDDD_TIMES_2           0
 score FM_SEX_HOSTDDDD          0