Re: [exim] Complex file parsing into IP address list

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Tim Jackson
CC: exim-users
Subject: Re: [exim] Complex file parsing into IP address list
On Tue, 28 Mar 2006, Tim Jackson wrote:
>
> This works fine, but I'd like to get the unique IP addresses listed in this
> file into a local_interfaces option.


What for? The point of the multiple personality setup is to avoid having
to tell Exim what to listen on.

In any case, it's better to do this kind of thing with a perl script and a
make file than with string expansions.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}