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

Top Page
Delete this message
Reply to this message
Author: Wakko Warner
Date:  
To: Jake Scott
CC: Exim Users
Subject: Re: [exim] Multi-valuied LDAP lookups in domain lists
Jake Scott wrote:
> That works a treat - thanks. That information about changing the
> default delimiter in lists is quite well hidden! :)


Great, glad it's working for you.

P.S. don't top post.

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

--
Lab tests show that use of micro$oft causes cancer in lab animals