summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/IMAP/tasks')
-rw-r--r--roles/IMAP/tasks/imap.yml8
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