Szerző: Graeme Fowler Dátum: Címzett: exim-users Tárgy: Re: [exim] help needed with routing setup
On Tue, 2009-05-12 at 17:19 +0300, Eric Magutu wrote: > I have a number of mail servers running exim 4.69 on various linux and
> unix platforms. I wanted to configure them in such a way that after
> mail spends a certain amount of time in the queue or certain number of
> retries it is forwarded to a different server.
Have a router before your other remote delivery routers of this form:
# This router passes any mail older than 24 hours to the "slow lane"
# in order to keep queues down on frontline servers
too_old:
driver = manualroute
condition = ${if > {$message_age}{86400}{yes}{no}}
transport = remote_smtp
route_list = * <insert your hostname here>
This will only run if the message has been on the queue for more than 24
hours (and you can tune this, clearly).