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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Drav Sloan
Date:  
À: Arkadiusz Miskiewicz
CC: exim-users
Sujet: 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.