diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-09 03:38:53 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:52:50 +0200 |
commit | 508fa5dad16a62630b3063a4d0b395b0ca6ae005 (patch) | |
tree | db23a6f2f0f38e7cf3c4e276e660f991bda1b6a6 /roles/IMAP/tasks | |
parent | 55e9b2a0ebc87a353f9c9496a77b313e41e47bd4 (diff) |
Fix Dovecot's mail location.
Diffstat (limited to 'roles/IMAP/tasks')
-rw-r--r-- | roles/IMAP/tasks/imap.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/IMAP/tasks/imap.yml b/roles/IMAP/tasks/imap.yml index 25f876d..b142ba6 100644 --- a/roles/IMAP/tasks/imap.yml +++ b/roles/IMAP/tasks/imap.yml @@ -33,6 +33,12 @@ owner=root group=root mode=0755 +- name: Create /home/mail/virtual + file: path=/home/mail/virtual + state=directory + owner=vmail group=vmail + mode=0700 + - name: Create virtual mailbox directories file: path=/etc/dovecot/virtual/{{ item }} state=directory @@ -56,8 +62,6 @@ - unseen - name: Create directory /home/mail/spamspool - # There is no possibility for a name clash, since 'spamspool' isn't a - # valid domain file: path=/home/mail/spamspool state=directory owner=vmail group=vmail |