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

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] How does exim handle the case of changing smarthost DNS records?
Marc Haber <mh+exim-users@???> (So 07 Jan 2007 22:39:41 CET):
> Hi,
>
> this message ends with a debug output from exim 4.63 (Debian)
> delivering via a smarthost router (also quoted at the end) to a host
> that requires authentication. Exim is configured to authenticate, and
> does this most of the time. Other times, this is what happens:
>
> routed by smarthost router
> host gmail-smtp.l.google.com [209.85.133.111] port=587
> host gmail-smtp.l.google.com [209.85.133.109] port=587
> <snip>
> remote_smtp_smarthost transport entered
> <snip>
> Connecting to gmail-smtp.l.google.com [209.85.133.111]:587 ... connected
> <snip>
> 209.85.133.111 in hosts_require_auth? no (option unset)
> <snip>
> gethostbyname2 looked up these IP addresses:
> name=gmail-smtp.l.google.com address=64.233.185.111
> name=gmail-smtp.l.google.com address=64.233.185.109
> 209.85.133.111 in hosts_try_auth? no (end of list)


It tries to find 209.85.133.111 in the hosts_try_auth list,
I suppose there's "smtp.gmail.com:..." (constructed from
passwd.client).

If I understand well, then exim does a A lookup for named entries in
the host list (and smtp.gmail.com is currently 64.233.183.109), so the
list looks as follows

    hosts_try_auth = 64.233.183.109:...


And this will not match the 209.85.133.111.


And some other hint:
--
gethostbyname2(af=inet6) returned 3 (NO_RECOVERY)
fully qualified name = gmail-smtp.l.google.com
gethostbyname2 looked up these IP addresses:
name=gmail-smtp.l.google.com address=209.85.133.111
name=gmail-smtp.l.google.com address=209.85.133.109
--
gethostbyname2(af=inet6) returned 3 (NO_RECOVERY)
gethostbyname2 looked up these IP addresses:
name=gmail-smtp.l.google.com address=64.233.185.111
name=gmail-smtp.l.google.com address=64.233.185.109


Appearantly during your debug session the addresses changed.


    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 -