How to filter on Spamassassin headers with Majordomo2 ...
"Marc G. Fournier" <[email protected]> Tue, 9 Sep 2003 17:09:27 -0300 (ADT)
| Newsgroups | gmane.mail.majordomo.devel,gmane.mail.majordomo.majordomo2.devel |
|---|---|
| Message-ID | <[email protected]> |
Since I've seen a couple of questions on this over the past few days, here is what I have in place to filter based on SA headers for the PostgreSQL.Org mailing lists: configset DEFAULT taboo_headers <<ENDAAB /^X-Spam-Status: Yes/ 10,spamassassin /^X-Spam-Status: Yes, hits=([6-9]|\d\d+)/ 20,spamassassin /^Subject: Thank you!/ 1,virus_subject /^Subject: Re: Thank you!/ 1,virus_subject /^Subject: Re: Wicked screensaver/ 1,virus_subject /^Subject: Wicked screensaver/ 1,virus_subject /^Subject: Re: Re: My details/ 1,virus_subject /^Subject: Re: That movie/ 1,virus_subject /^Subject: That movie/ 1,virus_subject /^Subject: Re: Approved/ 1,virus_subject /^Subject: Approved/ 1,virus_subject /^Subject: Re: Details/ 1,virus_subject /^Subject: Re: Your application/ 1,virus_subject /^Subject: Your application/ 1,virus_subject /^Subject: Re: Your details/ 1,virus_subject /^Subject: Your details/ 1,virus_subject /^Subject: Details/ 1,virus_subject ENDAAB configset DEFAULT access_rules <<ENDAAB post deny, reason="The message is too big" $body_length_exceeded post deny, reply=NONE $taboo_spamassassin > 6 post consult, reply=NONE $taboo_spamassassin post deny, reply=NONE $taboo_virus_subject ENDAAB Hopefully this helps some out there ...