Re: [exim] Regex help

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marc Perkel
Päiväys:  
Vastaanottaja: Chris Edwards
Kopio: Exim-users
Aihe: Re: [exim] Regex help
thanks - yes - that is much cleaner.

Chris Edwards wrote:

>On Fri, 11 Mar 2005, Marc Perkel wrote:
>
>| Trying to write a regex string to detect 8-bit characters in various
>| headers. What I want to do is drop message with lots of 8-bit characters
>| in the subject line.
>
>Try:
>
>  deny    condition = ${if match{$h_subject:}{\N[\x80-\xFF]{3,}\N}{yes}{no}}

>
>NOTE - in reality, a fair number of otherwise-legit mails from eastern
>europe and the far east have 8bit characters in the subject and other
>headers. Whether this matters to you depends on the size and diversity of
>your user base...
>
>
>


--
Marc Perkel - marc@???

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com
My Religion: http://www.churchofreality.org
~ "If it's real - we believe in it!" ~