Re: [Exim] senders

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Aaron Anderson
Dátum:  
Címzett: Matt Bernstein
CC: exim-users
Tárgy: Re: [Exim] senders
My original query is:

senders = ${lookup
ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}

and I get the errors:
LDAP attr loop echoMailRoutingAddress:cypher_key@???
LDAP attr loop echoMailRoutingAddress:encrypted@???
search ended by ldap_result yielding 101
LDAP search: returning: cypher_key@???, encrypted@???
lookup yielded: cypher_key@???, encrypted@???
cypher_key@??? in cypher_key@???,
encrypted@???? no (end of list)
ldap_list director: sender match failure

I changed it to:

${sg{lookup
ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}{,}{:}}

and I now get:

ldap_list director: failed to expand "${sg{lookup
ldap{ldap:///echoMailList=${local_part},dc=${domain},ou=vdomains,o=top?echoMailRoutingAddress}}{,}{:}}"
missing or misplaced { or }

I've counted the brackets and a search of newsgroup leads me to
believe that it's a whitespace issue or something else other than {}
problems. Any ideas?

thanks,


Aaron

Quoting Matt Bernstein <mb@???>:

> On Jul 22 Aaron Anderson wrote:
>
> >How can I get an LDAP lookup to return a colon-seperated list
> oppose to a
> >comma-seperated list.
>
> ${sg{<ldap query>}{,}{:}} ?
>
>



-------------------------------------------------
Secure Webmail sent through: webmail.echostar.ca