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.
13 lines
311 B
YAML
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
|