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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Drav Sloan
Dátum:  
Címzett: Arkadiusz Miskiewicz
CC: exim-users
Tárgy: 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.