hi john,
you ´re right
it did only work, when the IP contains a single digit
i tested your expression, and it works fine now
this is acl is provided with the virtual exim package, so i´ll take a look in
their bugs database....
thanks a lot
roman
Am Sonntag, 24. Juli 2005 18:55 schrieb John Horne:
> On Sun, July 24, 2005 12:45, Roman Khassraf said:
> > i have an acl_smtp_helo ACL :
> >
> > accept hosts = :
> > accept hosts = +relay_from_hosts
> > drop condition = ${if match{$sender_helo_name}{MY_IP}{yes}{no} }
> > message = "Dropped spammer pretending to be us"
> > drop condition = ${if
> > match{$sender_helo_name}{^[0-9]\.[0-9]\.[0-9]\.[0-9]}
>
> This 'match' expression is wrong. You are matching against single digits,
> but as it stands the '\.' will be interpreted as any character as well
> because the second argument is expanded.
>
> Try using:
>
> match{$sender_helo_name}{\N^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\N}
>
>
>
> John.
>
> --
> ---------------------------------------------------------------
> John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914
> E-mail: John.Horne@??? Fax: +44 (0)1752 233839
--
Roman Khassraf
EDV Dienstleistungen und Beratung
Khunngasse 18/11
A-1030 Wien
Mobil: 0664 14 32 802
www.khassraf.at