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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: John and Catherine Allen
Datum:  
To: David Gardner, exim-users
Betreff: Re: [Exim] Filter needed for non-alphanumeric characters in the header line...
>Those pesky spammers in Asia are firing their junk to my system through
>my ISP. Since the message's last stop was a "trusted" host, I can't
>block their IP range. I cannot block the domain name because invariably
>it is Yahoo.com. But I can filter on the subject header which almost
>always contains non-alphanumeric characters.


>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 used a filter in my .forward file which looks like this:

             if (${lc:$header_subject:} matches [\xA4-\xAB])


The choice of the character range used was based on a very casual check of a
few subject lines, but it seems to catch 100% of the Asian spam messages.

John

--
Catherine and John Allen
Bofferdange, Luxembourg
allen@???
http://www2.vo.lu/homepages/allen