Re: [Exim] How to try more than one router?

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Dean Brooks
Data:  
Para: Daniel M. Drucker
CC: exim-users
Assunto: Re: [Exim] How to try more than one router?
On Tue, Oct 14, 2003 at 02:13:56PM -0400, Dean Brooks wrote:

>   smarthost:
>     driver = manualroute
>     domains = ! +local_domains
>     condition = ${if > {$message_age}{900}{yes}{no}}      <<<<< Insert this
>     transport = remote_smtp
>     route_list = * smarthost.myothersite.org


Actually, I had the above condition backwards. That's what I get
for copying and pasting from my own config. It should be:

     condition = ${if < {$message_age}{900}{yes}{no}}


So that the smarthost router only executes if its LESS than 900 seconds,
not greater than 900.

-Dean