X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=blobdiff_plain;f=common%2Flist_specific;h=a6a6655e4dc919833e4bab4c4444a77007a2c11c;hp=45f9fc9526f6687ad80a721472144b1b78804fe7;hb=f48a441b7bbd473e2cd70e6ad39604164f04d729;hpb=29355145bd6dd70fb86aa23e6f700678e0a4aca8 diff --git a/common/list_specific b/common/list_specific index 45f9fc9..a6a6655 100644 --- a/common/list_specific +++ b/common/list_specific @@ -71,6 +71,28 @@ header LDOSUBSCRIBER X-Subscriber-lists.debian.org =~ /./ describe LDOSUBSCRIBER Sender is a lists.debian.org subscriber score LDOSUBSCRIBER -6 +# whitelist mails to majordomo +header MAJORDOMOMAIL Delivered-To =~ /lists-majordomo@/ +describe MAJORDOMOMAIL mail to major domo +score MAJORDOMOMAIL -0.1 + +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 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 3 + +describe CC_TOO_MANY CC: too many recipients +header CC_TOO_MANY CC =~ /(?:,[^,]{1,80}){10}/ +score CC_TOO_MANY 3 + score CORRUPT_FROM_LINE_IN_HDRS 0 score FM_DDDD_TIMES_2 0 score FM_SEX_HOSTDDDD 0