Re: [exim] implementing a delayed delivery host

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Graeme Fowler
Date:  
À: exim-users
Sujet: Re: [exim] implementing a delayed delivery host
On Wed, 2009-12-02 at 17:05 +0000, paul.osborne@??? wrote:
> Anyway I have peered through the Exim manual and may be suffering from
> wood from the trees syndrome as I cannot see an obvious way to implement
> this, so it is either ridiculously simple or hard. :) Thoughts are
> welcome.


Put this sufficiently early in your routers (before the routers which
deliver to internal hosts):

too_old:
driver = manualroute
condition = ${if > {$message_age}{86400}{yes}{no}}
transport = remote_smtp
route_list = * your.host.name

If you tune the message age to something suitable short, then anything
which doesn't deliver immediately will be punted on the next queue run.
You can also fiddle with conditions to ensure it's only for local
domains, for example.

Simples!

Graeme