On Wed, Oct 27, 2004 at 11:59:57AM -0700, Alton Yu wrote: > Is there a way to check body for specific text like say if it had the > text of a specific domain (viagra.com), to discard the message? > > Someone used my email address as a envelope from address to spam and I > keep getting bounced messages. I haven't figured out how to do this in > mimedefang, but in postfix, I just use /etc/postfix/body_checks and have > in the file something like: > /some text/ DISCARD SPAM > > I would like to have a similar setup in Mimedefang. > > Thanks! > Alton >
If you use SpamAssassin with MIMEDefang then define a SA rule and do a discard in mimedefang-filter if the score is greater than 100 : score BOUNCE_BODY 100.0 body BOUNCE_BODY /some text/i describe BOUNCE_BODY Spam body Text for messages to discard PS : you can also have a look at http://www.benzedrine.cx/milter-regex.html which is another Milter aimed at offering body/header checks for sendmail (without SpamAsassin requirements). --- Stephane Lentz AES TSC _______________________________________________ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

