|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ralf Hildebrandt (Ralf.Hildebrandt
charite.de)Date: Tue Apr 02 2002 - 05:02:17 CST
On Tue, Apr 02, 2002 at 12:32:17PM +0200, Jesus Climent wrote:
>
> Hi.
>
> I have received the following header in an spam mail:
>
> Subject: Multiplicar por 8 las ventas en su web
>
> I put a rule in header_checks like:
>
> /^Subject: Multiplicar por \d+ las ventas en su web/ reject
>
> But I cannot get the number right. If i send a mail changing 8 with 18 the
> mail goes through. I am no regex expert, but I think it should work.
>
> I tried also with [:digit:]+ and related. I have red the man (man regex) but
> still...
Maybe:
/^Subject: Multiplicar por [0-9]+ las ventas en su web/ REJECT
-- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandtcharite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 Trying to outsmart a compiler defeats much of the purpose of using one. -- Kernighan & Plauger, The Elements of Programming Style.
- To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]