[exim] Conditional router on remote IP

Top Page
Delete this message
Reply to this message
Author: Christian Gregoire
Date:  
To: exim-users
Subject: [exim] Conditional router on remote IP
Hello,

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}}

Thanks

Christian



____________________________________________________________________________________
Get the free Yahoo! toolbar and rest assured with the added security of spyware protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php