Re: [exim] Can the Interface Option be Randomized

Top Page
Delete this message
Reply to this message
Author: Fred Viles
Date:  
To: exim-users
Subject: Re: [exim] Can the Interface Option be Randomized
On 22 Sep 2005 at 20:35, Lloyd F. Tennison wrote about
    "Re: [exim] Can the Interface Option":


| Any way when they are not all sequential?


How about (for 4 IPs):
    interface = ${lookup {${nhash_4:$message_id}} \
             lsearch {/usr/local/exim/my_ips} {$value} {1.2.3.4}}


where my_ips contains:

0: 1.2.3.20
1: 1.2.3.22
2: 1.2.3.34
3: 1.2.3.99

- Fred