Re: [exim] Ugly configuration with nested LDAP lookups (spac…

Góra strony
Delete this message
Reply to this message
Autor: Phil Pennock
Data:  
Dla: exim users
Temat: Re: [exim] Ugly configuration with nested LDAP lookups (space asdelimiter?)
On 2009-04-09 at 10:45 +0200, Heiko Schlittermann wrote:
> This list I have to resolve. I tried ${map {}{}}, but map expects
> ":" as delimiter, I tried to change it using
>
>     ${map {<\x20 GROUP_QUERY}{ ANOTHER QUERY TO MAP 'dn' to 'mbox' }}

>
> but somewhow w/o success... it looked like exim was not accepting the
> \x20 as delimiter...


Looks like you're right. I *think*, but am not sure, that the control
character parsing is done earlier in the evaluation process than the
separator stuff, so \x20 just looks like a space to the expansion of
${map}.

This does not work:

${map {<\x20 alpha beta gamma}{[$item]}}

This *does* work:

${map {<\x01 ${sg{alpha beta gamma}{ }{\x01}}}{[$item]}}

If ctrl-A is unlikely to appear, that might be the easiest workaround?

-Phil