浏览代码

Create before.d sieve scripts directory

Pavel Karoukin 8 年前
父节点
当前提交
8cb490b2a0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      roles/mailserver/tasks/dovecot.yml

+ 4
- 0
roles/mailserver/tasks/dovecot.yml 查看文件

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

正在加载...
取消
保存