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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jake Scott
Dátum:  
Címzett: Wakko Warner
CC: Exim Users
Tárgy: 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)
>