[exim] acl condtion = ... failed is true?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: [exim] acl condtion = ... failed is true?
Hello,

the following ACL:

    trusted_host:


      accept    condition     = ${lookup{$tls_peerdn}lsearch{/etc/exim4/peers.tls}{yes}fail}
        verify        = certificate
        logwrite      = TRUSTED: certificate ($tls_peerdn)



With the above lookup it seems as if this acl returns "accept" even in
cases where the lookup fails. As soon as I replace "fail" with "{no}"
it works as expected.

Is it just a trap, a bug or a feature?


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -