adding three new rules to test scoring messages with too many recipients.
[spamassassin_config.git] / 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