Re: [exim] Another oddity - $host_lookup_failed

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Russell King
CC: exim-users
Assumpte: Re: [exim] Another oddity - $host_lookup_failed
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.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}