Re: [exim] relative 'expense' of Exiscan/SpamAssassin vs. lo…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tom Kistner
Dátum:  
Címzett: OpenMacNews
CC: exim-users
Tárgy: Re: [exim] relative 'expense' of Exiscan/SpamAssassin vs. local_scan for simple header/body triggers?
OpenMacNews wrote:

>    headers.banned
>        containing, e.g., a random assorment of header spec'ns, ala:
>            "X-Mailer: *Bobs Message Poster*",
>            "Subject: *ADV:*",
>            "From: *@*.com.dk*",
>            "From: *@blurg.com*",
>            "Return-Path: *@blah*",
>            ...


${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