RE: [exim] check_helo_slow?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Woodhouse
Fecha:  
A: Rick Cooper
Cc: David, exim-users
Asunto: 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