Re: [exim] Domain lists with colon in query-style lookups

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Alexander Koch
CC: exim-users
Subject: Re: [exim] Domain lists with colon in query-style lookups
On Thu, 3 Nov 2005, Alexander Koch wrote:
>
> For me this means that all of the rest of the line forms the lookup and
> will not be parsed. But it seems that the colon still is the separator.


No, just that pattern is used for the query, not the rest of the list.
Colons separate patterns.

> 2) Is there a way to escape the colon? I only know to change the
> separator, but as it is a local_part any punctuation can be in
> it.


Try ${sg {$local_part} {:}{::} }

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