2015-05-28 11:32:57 +02:00
|
|
|
- name: Update SASL hash
|
|
|
|
shell: postmap hash:/etc/postfix/sasl_passwd
|
|
|
|
|
|
|
|
- name: Reload postfix
|
|
|
|
service: name=postfix state=reloaded
|
2016-08-09 18:57:37 +02:00
|
|
|
when: postfix_enabled
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Restart postfix
|
|
|
|
service: name=postfix state=restarted
|
2016-08-09 18:57:37 +02:00
|
|
|
when: postfix_enabled
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: Update the network hash table
|
|
|
|
shell: postmap hash:/etc/postfix/network_table
|
|
|
|
|
|
|
|
- name: start saslauth daemon
|
|
|
|
service: name=saslauthd state=started enabled=yes
|
2016-08-09 18:57:37 +02:00
|
|
|
when: postfix_enabled
|
2015-05-28 11:32:57 +02:00
|
|
|
|
|
|
|
- name: restart saslauth daemon
|
|
|
|
service: name=saslauthd state=restarted
|
2016-08-09 18:57:37 +02:00
|
|
|
when: postfix_enabled
|