Re: [exim] Another oddity - $host_lookup_failed

Góra strony
Delete this message
Reply to this message
Autor: Russell King
Data:  
Dla: Tony Finch
CC: exim-users
Temat: 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