Re: [exim] retry time and fallback host

Etusivu
Poista viesti
Vastaa
Lähettäjä: Mike Cardwell
Päiväys:  
Vastaanottaja: Exim Users List
Aihe: Re: [exim] retry time and fallback host
Zbigniew Szalbot wrote:

> 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.


In your dnslookup router stick this condition:

condition = ${if <{$message_age}{86400}}

And then stick a smarthost router after it.

Mike