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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 12:18 PM
To: [EMAIL PROTECTED]
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
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to