5 base = ou=posix,dc=sourcephile,dc=fr
8 # NOTE: sufficient for small systems and uses less resources.
14 #dn = cn=admin,dc=sourcephile,dc=fr
15 #dnpass = useless with sasl_mech=EXTERNAL
17 #auth_bind_userdn = cn=%n,ou=accounts,ou=posix,dc=dc=sourcephile,dc=fr
19 # dovecot passdb query
20 pass_filter = (&(objectClass=posixAccount)(uid=%n)(mailEnabled=TRUE))
21 pass_attrs = userPassword=password,\
22 uidNumber=userdb_uid,\
23 gidNumber=userdb_gid,\
24 mailStorageDirectory=userdb_mail,\
25 mailGroupMember=userdb_mail_access_groups=sourcephile,\
26 quotaBytes=userdb_quota_rule=*:bytes=%{ldap:quotaBytes},\
28 #homeDirectory=userdb_home
29 default_pass_scheme = CRYPT
31 # dovecot userdb query
33 user_filter = (&(objectClass=posixAccount)(uid=%n)(mailEnabled=TRUE))
34 user_attrs = mailStorageDirectory=mail,\
37 mailQuota=quota_rule=*:bytes=%{ldap:quotaBytes}
40 iterate_attrs = =user=%{ldap:uid}@sourcephile.fr
41 iterate_filter = (&(objectClass=posixAccount)(mailEnabled=TRUE))