diff options
-rw-r--r-- | ansible/roles/dovecot/templates/configs/auth-ldap.conf.ext.j2 | 2 | ||||
-rw-r--r-- | ansible/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ansible/roles/dovecot/templates/configs/auth-ldap.conf.ext.j2 b/ansible/roles/dovecot/templates/configs/auth-ldap.conf.ext.j2 index 84d6865..e9c5fdc 100644 --- a/ansible/roles/dovecot/templates/configs/auth-ldap.conf.ext.j2 +++ b/ansible/roles/dovecot/templates/configs/auth-ldap.conf.ext.j2 @@ -13,5 +13,5 @@ passdb { userdb { driver = static - args = uid=vmail gid=vmail home=/var/vmail/%u + args = uid=vmail gid=vmail mail=maildir:/var/vmail/%u home=/home/%u } diff --git a/ansible/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 b/ansible/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 index aef69c7..4555726 100644 --- a/ansible/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 +++ b/ansible/roles/dovecot/templates/dovecot-ldap.conf.ext.j2 @@ -56,7 +56,7 @@ base = cn=users,cn=accounts,dc=box,dc=pydis,dc=wtf # # There are also other special fields which can be returned, see # http://wiki2.dovecot.org/UserDatabase/ExtraFields -# user_attrs = uidNumber=uid, gidNumber=gid, uid=home=/var/vmail/%$ +user_attrs = uidNumber=uid, gidNumber=gid, uid=home=/home/%$ # Filter for user lookup. Some variables can be used (see # http://wiki2.dovecot.org/Variables for full list): |