From 7a1b276f7b2c9478e28c16bb18e3095bd4b49e15 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 5 May 2018 12:44:51 +0800 Subject: mail/dovecot: change sieve directory ownership --- roles/mail/tasks/main.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'roles/mail/tasks') diff --git a/roles/mail/tasks/main.yml b/roles/mail/tasks/main.yml index 72debac..81afd0a 100644 --- a/roles/mail/tasks/main.yml +++ b/roles/mail/tasks/main.yml @@ -83,13 +83,8 @@ copy: src: sieve/ # trailing '/' -> directory contents dest: /usr/local/etc/dovecot/sieve/ - tags: dovecot - -- name: dovecot - compile sieve filters - command: > - find /usr/local/etc/dovecot/sieve/ - -name '*.sieve' - -exec sievec '{}' ';' + owner: "{{ mail.vuser.name }}" + group: "{{ mail.vuser.name }}" tags: dovecot - name: dovecot - generate passdb and userdb -- cgit v1.2.2