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

Pàgina inicial
Delete this message
Reply to this message
Autor: Dean Brooks
Data:  
A: Daniel M. Drucker
CC: exim-users
Assumpte: 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