postfix: Fix email sending to local addresses

CentOS 7 sendmail and postfix doesn't have support for sending to SMTPs
server on port 465 so use stunnel for those.
This commit is contained in:
Timo Makinen 2020-09-02 21:07:21 +00:00
parent 574916dfaf
commit 5b24509081
4 changed files with 114 additions and 24 deletions

View file

@ -0,0 +1,7 @@
foreground = yes
pid =
[smtps-wrapper]
accept = localhost:2525
client = yes
connect = {{ mail_server }}:465