Re: [exim] How does exim handle the case of changing smartho…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Heiko Schlittermann
日付:  
To: exim-users
題目: Re: [exim] How does exim handle the case of changing smarthost DNS records?
Marc Haber <mh+exim-users@???> (Mi 10 Jan 2007 12:52:08 CET):
> On Tue, 9 Jan 2007 20:17:39 +0100, Heiko Schlittermann
> <hs@???> wrote:
> >Not tested (and modulo syntax errors) *could* do the trick:
> >
> >    hosts_require_auth = ${if exists{CONFIG_DIR/passwd.client} \
> >        { ${lookup{$host}lsearch{CONFIG_DIR/passwd.client}{$host_address}} }\
> >        {} \
> >        }

>
> I changed this to
>
> |  hosts_try_auth = ${if exists{CONFDIR/passwd.client} \
> |      { ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}} }\
> |      {} \
> |    }

>
> and this seems to work fine at least fot the test cases I did. Thanks



> >(Or use hosts_try_auth because the hosts_require_auth isn't mentioned in
> >30.2 of the spec.)
>
> Debian exim4 uses hosts_try_auth. I do not have an idea whether this
> makes sense or not.


I'd use hosts_require_auth, because *IFF* I have some entry in
passwd.client I'd suppose that this host *needs* authentication.

With hosts_try_auth it can happen that auth failes for some reason (as
it did) and exim tries to deliver w/o auth, getting 5xx and returning
the message. For my feeling it's not what I'd expect. I'd expect
exim retrying with auth until it succeeds or the message expires.

PS:
> for helping! I hope your wife and your kid are fine.

Wife: fine
Kid: fine, but still inside my wife .... it's late about two weeks now.
:)


    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 -