|
@@ -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
|