Initial commit

This commit is contained in:
2022-03-15 02:56:50 +01:00
commit f2b39b5f88
9 changed files with 149 additions and 0 deletions

17
handlers/main.yml Normal file
View File

@@ -0,0 +1,17 @@
- name: Activate and restart Postfix
service:
name: postfix
enabled: yes
state: restarted
- name: Generate SASL
command:
cmd: /usr/sbin/postmap /etc/postfix/sasl_passwd
- name: Generate aliases
command:
cmd: /usr/sbin/postalias /etc/aliases
- name: Generate sender_canonical
command:
cmd: /usr/sbin/postmap /etc/postfix/sender_canonical