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

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Drav Sloan
Data:  
Para: Arkadiusz Miskiewicz
CC: exim-users
Asunto: 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.