[Mimedefang] Need to bounce emails that contain certain keywo rds in the body

Cormack, Ken kcormack at acs.roadway.com
Mon Apr 19 13:05:54 EDT 2004


The easiest way would be to create "rawbody" rules, for SpamAssassin.  For
example:

rawbody  MY_RULE_1 /some text to block/i
describe MY_RULE_1 Unacceptable word or phrase
score    MY_RULE_1 2.0

In this example, I use a SA score of 2.0.  However, if you want to outright
reject a message with such text, score the rule high enough to trigger your
filter to reject or quarantine the message, as desired.

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com]On Behalf Of
mark at roycenet.com
Sent: Monday, April 19, 2004 12:18 PM
To: mimedefang at lists.roaringpenguin.com
Subject: [Mimedefang] Need to bounce emails that contain certain
keywords in the body


I Need to bounce emails that contain certain keywords in the body
Please post stock filter code to do this
Thank you 
Mark Penkower



More information about the MIMEDefang mailing list