Re: [exim] retry time and fallback host

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Zbigniew Szalbot
CC: Exim users
題目: 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