Re: [exim] retry time and fallback host

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: Exim Users List
Subject: 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