summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext2
-rw-r--r--roles/IMAP-proxy/tasks/main.yml4
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext b/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext
index 7ab096f..ced2f80 100644
--- a/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext
+++ b/roles/IMAP-proxy/files/etc/dovecot/conf.d/auth-imap.conf.ext
@@ -13,5 +13,5 @@ passdb {
# <doc/wiki/UserDatabase.Prefetch.txt>
userdb {
driver = prefetch
- default_fields = home=/home/imapproxy/%d/%n
+ default_fields = home=/var/lib/imapproxy/%d/%n
}
diff --git a/roles/IMAP-proxy/tasks/main.yml b/roles/IMAP-proxy/tasks/main.yml
index 7fcf91d..579fc7e 100644
--- a/roles/IMAP-proxy/tasks/main.yml
+++ b/roles/IMAP-proxy/tasks/main.yml
@@ -8,13 +8,13 @@
- name: Create a user 'imapproxy'
user: name=imapproxy system=yes
createhome=no
- home=/home/imapproxy
+ home=/var/lib/imapproxy
shell=/usr/sbin/nologin
password=!
state=present
- name: Create a home directory for user 'imapproxy'
- file: path=/home/imapproxy
+ file: path=/var/lib/imapproxy
state=directory
owner=imapproxy group=imapproxy
mode=0700