>----- Original Message ----
>From: Mike Cardwell <[EMAIL PROTECTED]>
>To: exim users <[email protected]>
>Sent: Monday, June 18, 2007 7:46:54 PM
>Subject: Re: [exim] Conditional router on remote IP


>Christian Gregoire wrote:

>> I have a hostlist variable with many IP addresses :
>> hostlist open_relay_hosts = 10.0.0.1 : 10.0.0.2 : 192.168.1.12 
>> ...............
>> 
>> How can I have a router called only when the remote IP address is one of 
>> these ?
>> 
>> The following condition fails to parse :
>> condition = ${if eq {$sender_host_address}{+open_relay_hosts}}

>condition = ${if match_ip{$sender_host_address}{+open_relay_hosts}}

>(I think)

>Mike

Thanks, that's it. My PDF doc was not up to date and didn't reference this 
condition.

Christian


 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to