Re: [exim] LDAP second level queries?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] LDAP second level queries?
On 14/06/17 07:13, Mikhail Golub wrote:
> data = ${sg \
>                 { ${lookup ldapm {LDAP_AUTH
> ldap:///DC=CORP,DC=COM?mail?sub?(&(objectClass=user)(mail=*)(memberOf:1.2.840.113556.1.4.1941:=\

>
>                   ${sg { ${lookup ldapm {LDAP_AUTH
> ldap:///OU=MYOU,DC=CORP,DC=COM?distinguishedName?sub?(&(proxyAddresses=smtp:${quote_ldap:$local_part}@$domain)(objectclass=*))}}\

>
>                   } {,,} {,} } ))}} } {\n} {,} }


Using listextract rather than sg, as the docs recommend, is slightly
cleaner.
--
Jeremy