Re: [exim] Another oddity - $host_lookup_failed

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Russell King
Fecha:  
A: Tony Finch
Cc: exim-users
Asunto: Re: [exim] Another oddity - $host_lookup_failed
On Sun, Feb 13, 2005 at 03:03:00PM +0000, Tony Finch wrote:
> On Sun, 13 Feb 2005, Russell King wrote:
> >
> >   defer   condition     = ${lookup{${lc:$sender_helo_name}} partial-lsearch{/etc/exim/helo-check} {1}{0}}
> >           condition     = ${if eq{$host_lookup_failed} {1} {0}{1}}

>
> The logic in your second condition is backwards. You are deferring if
> $host_lookup_failed is not 1, i.e. if the host lookup succeeded.


Grumble. Thanks Tony.

--
Russell King