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

Top Page
Delete this message
Reply to this message
Author: Dean Brooks
Date:  
To: Daniel M. Drucker
CC: exim-users
Subject: 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