From d077dc7041b981a4ae2bf3775f5d50ac4ab1a726 Mon Sep 17 00:00:00 2001 From: Lucas Costa Beyeler Date: Tue, 5 Sep 2017 11:12:24 -0300 Subject: [PATCH] Including Antispam Auto Update --- tasks/configure/mta.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tasks/configure/mta.yml b/tasks/configure/mta.yml index f23328b..8bced03 100644 --- a/tasks/configure/mta.yml +++ b/tasks/configure/mta.yml @@ -17,6 +17,21 @@ owner: root group: root mode: 0440 + +- name: Enabling SpamAssassin Auto Update + command: zmlocalconfig -e antispam_enable_rule_updates=true + become: true + become_user: zimbra + +- name: Enabling Amavis to restart when the rules are update + command: zmlocalconfig -e antispam_enable_restarts=true + become: true + become_user: zimbra + +- name: Enabling SpamAssassin rule compilation + command: zmlocalconfig -e antispam_enable_rule_compilation=true + become: true + become_user: zimbra # # Configuring Pyzor