Re: [exim] Multi-valuied LDAP lookups in domain lists

Pàgina inicial
Delete this message
Reply to this message
Autor: Jake Scott
Data:  
A: Wakko Warner
CC: Exim Users
Assumpte: Re: [exim] Multi-valuied LDAP lookups in domain lists
That works a treat - thanks. That information about changing the
default delimiter in lists is quite well hidden! :)


Cheers

Jake


Wakko Warner wrote:
> Jake Scott wrote:
>
>>  domainlist relay_to_domains = \
>>          ${lookup ldap {user=LDAP_BIND pass=LDAP_PWD
>>  \                          

>>
>> ldaps:///cn=relayDomains,LDAP_CONFIG?associatedDomain?base?(associatedDomain=$domain)
>> }}
>
>
> You could add <, after the = to use , instead of : as a seperator.
>
> Or you could wrap the lookup in ${sg{ <your lookup> }{,}{:}} (check the
> docs for ${sg before using this, I'm going on memory alone)
>