RE: [exim] check_helo_slow?

Top Page
Delete this message
Reply to this message
Author: Rick Cooper
Date:  
To: David, David Woodhouse
CC: exim-users
Subject: RE: [exim] check_helo_slow?


> -----Original Message-----
> From: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org]On
> Behalf Of David
> Sent: Monday, January 10, 2005 10:12 AM
> To: David Woodhouse
> Cc: exim-users@???
> Subject: Re: [exim] check_helo_slow?
>
>
> Hi !!
>
> >  deny message = IPv4 literal in HELO not permitted
> >  condition = ${if match {$sender_helo_name}{^\[(.*)\]\$} \
> >         {${if isip{$1} {1}{0}} {0}}

>
> i was just checking this condition and get an unexpected
> result, as i'm far from being a regex guru any help will
> be welcome:
>

[...]

Try:

deny message = IPv4 literal in HELO not permitted
condition = ${if and {\
                {match {$sender_helo_name}{\N^\[(.*)\]$\N}} \
                {isip{$1}}\
                }\
                {yes}{no}}


Should work for you

Rick

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.