Re: [exim] retry time and fallback host

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Zbigniew Szalbot
Cc: Exim users
Asunto: 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