Re: [exim] retry time and fallback host

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

Thank you all who responded!

On Tue, 21 Aug 2007 10:22:33 +0100, Mike Cardwell
<exim-users@???> wrote:
> 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?


> In your dnslookup router stick this condition:
>
> condition = ${if <{$message_age}{86400}}

Shouldn't there be > here?

>
> And then stick a smarthost router after it.


OK. So just to make sure:
dnslookup:
driver = dnslookup
domains = ! +local_domains
condition = ${if <{$message_age}{86400}}
transport = remote_smtp
condition = ${if >{$message_age}{86400}}
transport = smarthost
ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
no_more

Or how do I put "else" condition here?

Thank you very much!

--
Zbigniew Szalbot
www.slowo.pl
www.lcwords.com