OpenMacNews wrote:

   headers.banned
       containing, e.g., a random assorment of header spec'ns, ala:
           "X-Mailer: *Bobs Message Poster*",
           "Subject: *ADV:*",
           "From: [EMAIL PROTECTED]",
           "From: [EMAIL PROTECTED]",
           "Return-Path: [EMAIL PROTECTED]",
           ...

${if match{$header_X-Mailer:}{.*Bobs Message Poster.*}{1}{0}}

You get the idea. This must be either in MIME or DATA ACLs (every ACL before does not have the headers yet). You can also use "regex" but that will be slower.

and,

   content.banned
       containing, e.g., a random assorment of "bad" body strings

Try "mime_regex" or "regex". Although pattern matching eats CPU just like SA.

/tom

--
## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to