Re: [exim] Hosts require tls and 4xx error

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: Re: [exim] Hosts require tls and 4xx error
On 12/01/17 19:36, Konstantin wrote:
> router_require_tls:
> driver = dnslookup
> domains = +tlsdomains
> transport = smtp_require_tls
>
> smtp_require_tls:
> driver = smtp
> delay_after_cutoff = false
> hosts_require_tls = *
> fallback_hosts = MY_FALLBACK
>
> This configuration works well. But today i found in logs unexpected
> behavior.
> A recipients domain reject with 451 after established STARTTLS. This is
> their graylist. Because of that error exim deliver email to fallback host.
> But I suppose that exim should retry delivery and not send to the fallback
> immediately.


You suppose wrongly.
The docs say:

"If Exim is unable to deliver to any of the hosts for a particular
address, and the errors are not permanent rejections, the address is put
on a separate transport queue with its host list replaced by the
fallback hosts,"

I don't see a way do do what you're asking for.
--
Jeremy