aboutsummaryrefslogblamecommitdiff
path: root/app/build/dovecot/conf/dovecot-ldap.sample.conf
blob: 472d5e8866cfe4e6aca37122f708e5c0814af0d6 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                       
hosts = ldap.example.com
dn = cn=admin,dc=example,dc=com
dnpass = s3cr3t
base = dc=example,dc=com
scope = subtree
user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=example,dc=com)))
pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=example,dc=com)))
user_attrs = mail=/var/mail/%{ldap:mail}