RE: [exim] check_helo_slow?

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Rick Cooper
CC: David, exim-users
Subject: RE: [exim] check_helo_slow?
On Mon, 2005-01-10 at 10:38 -0500, Rick Cooper wrote:
> Try:
>
> deny message = IPv4 literal in HELO not permitted
> condition = ${if and {\
>                 {match {$sender_helo_name}{\N^\[(.*)\]$\N}} \
>                 {isip{$1}}\
>                 }\
>                 {yes}{no}}


IIRC the '$1' in isip{} won't contain the IP address extracted by the
match if you do it that way; it'll always end up empty. I put the
isip{$1} inside the result of the ${if} on purpose.

--
dwmw2