X-Git-Url: https://git.donarmstrong.com/?p=spamassassin_config.git;a=blobdiff_plain;f=common%2Flist_specific;h=636752cdfa13f9c8a72564b50bd32b1c1bc39c15;hp=45f9fc9526f6687ad80a721472144b1b78804fe7;hb=61445211554cc543c740b987fd73c306a6dd322b;hpb=29355145bd6dd70fb86aa23e6f700678e0a4aca8 diff --git a/common/list_specific b/common/list_specific index 45f9fc9..636752c 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 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