From 4ff74c81887ec2b6f1e34506d95e43cc9553c00f Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Mon, 6 Jun 2016 10:18:05 +0200 Subject: [PATCH] remove mappings from ldap uid/gid to dovecot uid/gid --- roles/dovecot/templates/dovecot-ldap.conf.ext.j2 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 b/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 index 7924ee1..86d7893 100644 --- a/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 +++ b/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 @@ -31,11 +31,3 @@ scope = subtree # ldap filter, return an entity that is a virtual mail account user_filter = (&(objectClass=VirtualMailAccount)(mail=%n)(accountActive=TRUE)(delete=FALSE)) - -# to prevent the uid and gid mappings from the ldap object to -# dovecot mailbox, we map them to unused ldap fields -# the sytnax is: "ldap_attribute = dovecot_attribute" -# this is done because otherwise dovecot will deliver -# emails to the user directory instead of the maildir directory -# handled by the user postman -user_attrs = disablehomeDirectory=home,disableuidNumber=uid,disablegidNumber=gid