CentOS 7 sendmail and postfix doesn't have support for sending to SMTPs server on port 465 so use stunnel for those.
10 lines
165 B
YAML
10 lines
165 B
YAML
---
|
|
- name: restart postfix
|
|
service:
|
|
name: postfix
|
|
state: restarted
|
|
|
|
- name: restart stunnel-smtps
|
|
service:
|
|
name: stunnel-smtps
|
|
state: restarted
|