diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-12-14 22:23:09 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:51:22 +0200 |
commit | 827332364b00d3b47367fa97901dab8f4bfe4e91 (patch) | |
tree | 960fbfb219aee0563718358c1d9721bbdaa9ad4e /roles/IMAP/handlers | |
parent | 3ba746801d48d0c8375a88097ccd566c007eb8b2 (diff) |
Compile Spamassassin rules.
See /usr/share/doc/spamassassin/README.Debian.gz
Diffstat (limited to 'roles/IMAP/handlers')
-rw-r--r-- | roles/IMAP/handlers/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/IMAP/handlers/main.yml b/roles/IMAP/handlers/main.yml index 9bd7dab..bda2ab9 100644 --- a/roles/IMAP/handlers/main.yml +++ b/roles/IMAP/handlers/main.yml @@ -11,6 +11,12 @@ - name: Restart ClamAV service: name=clamav-daemon state=restarted +- name: Compile Spamassassin rules + sudo_user: debian-spamd + # it might take a while... + command: /usr/bin/sa-compile --quiet + chdir=/var/lib/spamassassin/ + - name: Restart Amavis service: name=amavis state=restarted |