Great Circle Associates Majordomo-Workers
(September 2003)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: How to filter on Spamassassin headers with Majordomo2 ...
From: "Marc G. Fournier" <scrappy @ hub . org>
Date: Tue, 9 Sep 2003 17:09:27 -0300 (ADT)
To: majordomo-workers @ GreatCircle . COM, mj2-dev @ csf . colorado . edu


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 ...


Follow-Ups:
Indexed By Date Previous: Re: Adding new domain ...
From: "Roger B.A. Klorese" <rogerk@queernet.org>
Next: Re: How to filter on Spamassassin headers with Majordomo2 ...
From: Brock Rozen <brozen@torah.org>
Indexed By Thread Previous: Re: Adding new domain ...
From: "Roger B.A. Klorese" <rogerk@queernet.org>
Next: Re: How to filter on Spamassassin headers with Majordomo2 ...
From: Brock Rozen <brozen@torah.org>

Google
 
Search Internet Search www.greatcircle.com