summaryrefslogtreecommitdiff
path: root/roles/postfix/handlers/main.yml
blob: 9869968e19450c900e6daa5b0e9ef04cab81aae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
- name: newaliases-postfix
  command: newaliases

- name: sasldb-postmap
  command: postmap hash:/etc/postfix/sasl_passwd
  listen: newaliases-postfix

- name: tlspolicy-postmap
  command: postmap hash:/etc/postfix/tls_policy
  listen: sasldb-postmap

- name: restart-postfix
  service:
    name: postfix
    state: restarted
  listen: tlspolicy_postmap