aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/dovecot/dovecot-ldap-userdb.conf.ext.imap_server
blob: 6a7ce4ee79dbb8dbe9a5b912da5b18c82ce1cbfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
uris = ${ldap_uri}

sasl_bind = yes
sasl_mech = gssapi
sasl_realm = ${realm}

base = ${users_basedn}
user_filter = (|(mailAddress=%u)(uid=%u))
user_attrs = \\
  =user=%{ldap:uid}, \\
  =uid=${dovecot_vmail_uid}, \\
  =gid=${dovecot_vmail_uid}, \\
  =home=${dovecot_vmail_dir}/%{ldap:uid}, \\
  mailQuota=quota_rule=\*:storage=%{ldap:mailQuota}

iterate_attrs = uid=user
iterate_filter = (mailAddress=*)