diff options
author | 2024-08-23 04:10:46 +0100 | |
---|---|---|
committer | 2024-08-23 16:52:20 +0100 | |
commit | b5fa09e3073a8235316f68abd706ae69fa011381 (patch) | |
tree | 9562a2bc12c1655c74719571b1f0ed442e3afafa | |
parent | Add documentation on Dovecot (diff) |
Separate userdb homedir and maildir for sieve support
-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): |