Re: [exim] Intermittent gmail SMTP failures: "Authentication…

Página Inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
Para: exim-users
Assunto: Re: [exim] Intermittent gmail SMTP failures: "Authentication Required"
On 22/02/2022 20:20, Bill Brelsford via Exim-users wrote:
> It gets a different IP address (.109 vs .108) when looking up hosts
> in hosts_require_auth, so fails. Why does it do a second DNS lookup
> for the target host?


What is your hosts_require_auth option set to?

hosts_require_auth takes a hostlist. If you give
a name as a list element then an A-lookup will be
done, and the set of IPs returned compared with
the connection address. The list might be in any order
and (more importantly here) if long, truncated.
You can see how that could fail against the 800lb
gorilla.

It's a separate operation because Exim doesn't know
about any connection with the first lookup.
Evaluating a hostlist is a nicely separate module,
and making linkages results in more bugs.

You're probably better off writing an expansion
condition for that option, returning * or :
based on knowledge of what items should be being
sent via google.

--
Cheers,
Jeremy