RE: [exim] check_helo_slow?

Etusivu
Poista viesti
Vastaa
Lähettäjä: David Woodhouse
Päiväys:  
Vastaanottaja: Rick Cooper
Kopio: David, exim-users
Aihe: 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