From 1ff93cc4eeb330321f4c45420120af9376c6174a Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 23 Jun 2020 00:03:16 +0200 Subject: [PATCH] Order of sievec fixed --- ansible/roles/ispmail-dovecot/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/ispmail-dovecot/tasks/main.yml b/ansible/roles/ispmail-dovecot/tasks/main.yml index 0ecae4d..1661632 100644 --- a/ansible/roles/ispmail-dovecot/tasks/main.yml +++ b/ansible/roles/ispmail-dovecot/tasks/main.yml @@ -35,6 +35,10 @@ - name: Fixing ownership and mode of dovecot-sql.conf.ext file: path=/etc/dovecot/dovecot-sql.conf.ext owner=root group=root mode=0640 notify: restart dovecot + +- name: Copying Sieve plugin configuration (90-sieve.conf) + copy: src=90-sieve.conf dest=/etc/dovecot/conf.d/90-sieve.conf + notify: restart dovecot - name: Create directory for global sieve-after scripts file: path=/etc/dovecot/sieve-after state=directory - name: Create global sieve-after script to send spam to its mail folder @@ -44,10 +48,6 @@ file: path: /etc/dovecot/sieve state: directory - -- name: Copying Sieve plugin configuration (90-sieve.conf) - copy: src=90-sieve.conf dest=/etc/dovecot/conf.d/90-sieve.conf - notify: restart dovecot - name: Copying Quota plugin configuration (90-quota.conf) copy: src=90-quota.conf dest=/etc/dovecot/conf.d/90-quota.conf notify: restart dovecot