Re: [Exim] Filter needed for non-alphanumeric characters in …

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: David Gardner
CC: exim-users
Sujet: Re: [Exim] Filter needed for non-alphanumeric characters in the header line...
On Tue, 26 Mar 2002, David Gardner wrote:

> Does anyone on this mailing list have a filter for Exim 3.22 that can
> handle this situation? Here is an example of the subject line:
>
> [±¤°í]±èÄ¡³ÃÀå°í,Á¤¼ö±â,¿*¼ö±â ù¶¥ 69 ¿ø¿¡µå ³ Ï Ù.


I've had some success with lines like this:

  $h_Subject:      matches  \N[\x80-\xff]{6}\N


which matches a run of 6 top-bit characters in a subject line. (This is
an Exim 4 line. For Exim 3, remove the \Ns and double the other \s.)


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.