RE: [exim] check_helo_slow?

Pàgina inicial
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
A: Rick Cooper
CC: David, exim-users
Assumpte: 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