File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ uris = ldap://{{ ldap_server }}
33# choose bind method instead of simple authentication
44auth_bind = yes
55
6+ # deliver everything to the same maildir owned by the postman user
7+ user_global_uid = postman
8+ user_global_gid = postman
9+
610# pass_attrs
711# specifies a comma-separated list of attributes that are returned from the LDAP.
812# If you set it to empty, all the attributes are returned.
@@ -31,11 +35,3 @@ scope = subtree
3135
3236# ldap filter, return an entity that is a virtual mail account
3337user_filter = (& (objectClass=VirtualMailAccount)(mail=%n)(accountActive=TRUE)(delete=FALSE))
34-
35- # to prevent the uid and gid mappings from the ldap object to
36- # dovecot mailbox, we map them to unused ldap fields
37- # the sytnax is: "ldap_attribute = dovecot_attribute"
38- # this is done because otherwise dovecot will deliver
39- # emails to the user directory instead of the maildir directory
40- # handled by the user postman
41- user_attrs = disablehomeDirectory=home,disableuidNumber=uid,disablegidNumber=gid
You can’t perform that action at this time.
0 commit comments