aboutsummaryrefslogblamecommitdiff
path: root/app/email/config/dovecot/dovecot-ldap.conf.tpl
blob: dc51e63f4003edbfa1a63a5fdf499fb63cec88f9 (plain) (tree)
1
2
3
4
5
6
7


                                                                   



                                                                                                         




                                       
hosts = bottin2.service.2.cluster.deuxfleurs.fr
dn = {{ key "secrets/email/dovecot/ldap_binddn" | trimSpace }}
dnpass = {{ key "secrets/email/dovecot/ldap_bindpwd" | trimSpace }}
base = dc=deuxfleurs,dc=fr
scope = subtree
user_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
pass_filter = (&(mail=%u)(&(objectClass=inetOrgPerson)(memberOf=cn=email,ou=groups,dc=deuxfleurs,dc=fr)))
user_attrs = \
  =user=%{ldap:cn}, \
  =mail=maildir:/var/mail/%{ldap:cn}, \
  =uid=1000, \
  =gid=1000