Re: [exim-dev] Odd deny condition failure behaviour

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Magnus Holmgren
Dátum:  
Címzett: exim-dev
Tárgy: Re: [exim-dev] Odd deny condition failure behaviour
On Wednesday 21 February 2007 22:03, Simon Arlott wrote:
> deny
>     condition    = \
>                 ${lookup{\
>                     ${substr_18:$local_part}\
>                 }lsearch{/etc/exim/conf/$domain/disabled_tags}{yes}fail}

>
> Why does this act as though condition evaluated to true and continue? (The
> lookup key doesn't exist in the file).


Philip decided that it would be useful if forced expansion failure in an ACL
condition meant that the condition be ignored. It's in the documentation. If
you really want a negative result, use "no" or "" instead.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans