Re: [exim] retry time and fallback host

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Renaud Allard
Date:  
À: Zbigniew Szalbot
CC: Exim users
Sujet: Re: [exim] retry time and fallback host


Zbigniew Szalbot wrote:
> Dear exim users,
>
> Is it possible to configure exim so that once certain rerty time passes
> (say 24h), when attempting to send queued emails exim will switch to pass
> them to a smarthost instead of trying to deliver them straight to the end
> recipients?
>
> I guess it may be difficult in terms of header rewriting and such? We are
> on a DSL line and we deliver majority of emails but there are always a few
> addresses which we cannot reach because their postmasters disallow mails
> from DSL line, even when we have a permanent IP address and rDNS set
> correctly.
>
> Any thoughts would be appreciated.
>


You could probably store the date in a header then check it with a
condition statement in your router, update the header if the date is not
old enough, or pass it through a smarthost if it's old enough. I know
this is not really an elegant solution but it should work.