Re: [exim] Exchange groups?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: volker.aust
Datum:  
To: Exim-users
Betreff: Re: [exim] Exchange groups?
Derrick MacPherson schrieb:
> I know how to query users out of Exchange using LDAP, is the same possible
> for mailing groups/lists?
>


This is from my working exim.conf to query users, distributionlists
(groups) and public folders:

<snip>

ldap_default_servers = <; your.first.global.catalog.server:3268 ; \
    your.second.global.catalog.server:3268
AD_BINDDN = "CN=user,DC=directory,DC=org"
AD_PASSWD = "password"
AD_BASEDN = ${quote_ldap:DC=directory, DC=org}


ADQUERN = ${lookup ldapdn {user=AD_BINDDN pass=AD_PASSWD time=10
ldap:///AD_BASEDN??sub?(&(|(objectClass=user)(objectClass=group)
(objectClass=publicFolder))
(proxyAddresses=smtp\:${quote_ldap:$local_part@$domain}))}{1}{0}}

</snip>

(ADQUERN is one line)

This query gives 1 if the address is valid, otherwise 0.

-vol