Files
configpolicy/roles/postfix/handlers/main.yml
Dustin C. Hatch 686817571e smtp-relay: Switch to Fastmail
AWS is going to begin charging extra for routable IPv4 addresses soon.
There's really no point in having a relay in the cloud anymore anyway,
since a) all outbound messages are sent via the local relay and b) no
messages are sent to anyone except me.
2023-10-24 17:27:21 -05:00

13 lines
311 B
YAML

- name: rehash postfix sasl passwd table
command: postmap /etc/postfix/sasl_passwd
- name: restart postfix
service:
name=postfix
state=restarted
- name: reload postfix
service:
name=postfix
state=reloaded
- name: save firewalld configuration
command: firewall-cmd --runtime-to-permanent