Re: [exim] retry time and fallback host

Top Pagina
Delete this message
Reply to this message
Auteur: Philip Hazel
Datum:  
Aan: Zbigniew Szalbot
CC: Exim users
Onderwerp: Re: [exim] retry time and fallback host
On Tue, 21 Aug 2007, 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?


Yes. Write a router that uses a "condition" condition to test
$message_age.

> I guess it may be difficult in terms of header rewriting and such?


No need to rewrite any headers.

-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book