summaryrefslogtreecommitdiffstats
path: root/roles/amavis/handlers/main.yml
blob: 65287e3529a343316d03122514633246a12d2165 (plain)
1
2
3
4
5
6
7
8
9
10
---
- name: Restart ClamAV
  service: name=clamav-daemon state=restarted

- name: Publish the public key in the DNS zone
  # See the output of 'sudo genkeypair.sh dkim --privkey=/var/lib/dkim/outgoing.fripost.org.key'
  fail: "msg={{ dkim.stdout }}"

- name: Restart Amavis
  service: name=amavis state=restarted