Browse Source

Create before.d sieve scripts directory

Pavel Karoukin 8 years ago
parent
commit
8cb490b2a0
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      roles/mailserver/tasks/dovecot.yml

+ 4
- 0
roles/mailserver/tasks/dovecot.yml View File

@@ -32,6 +32,10 @@
32 32
 - name: Copy dovecot.conf into place
33 33
   copy: src=etc_dovecot_dovecot.conf dest=/etc/dovecot/dovecot.conf
34 34
 
35
+- name: Create before.d sieve scripts directory
36
+  file: path=/etc/dovecot/sieve/before.d state=directory owner=vmail group=dovecot recurse=yes mode=0770
37
+  notify: restart dovecot
38
+
35 39
 - name: Configure sieve script moving spam into Junk folder
36 40
   copy: src=etc_dovecot_sieve_before.d_no-spam.sieve dest=/etc/dovecot/sieve/before.d/no-spam.sieve owner=vmail group=dovecot
37 41
   notify: restart dovecot

Loading…
Cancel
Save