Re: [exim] too long in queue - how to catch that?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Drav Sloan
Datum:  
To: Arkadiusz Miskiewicz
CC: exim-users
Betreff: Re: [exim] too long in queue - how to catch that?
Arkadiusz Miskiewicz wrote:
> Hi,
>
> I want to reroute messages to second machine which will handle remote
> deliveries if a message is too long in first machine queue?


in your routers section, near the top of the ruleset (before the standard
smtp router)

slow_mail:
    driver = manualroute
    condition = ${if >{$message_age} {3600} {yes} {no}} 
    transport = remote_smtp
    domains = *
    route_data = my.server.to.handle.this.mail.com


(change the transport line if your smtp transport is called anything
different).

Regards

D.