diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 18:21:00 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-10-09 19:37:29 +0200 |
commit | 24ae9e7220d1e73fdb3fa36d19d4278a21dbb1df (patch) | |
tree | 882c21547831def98dbdffeec51540c4a7d38c5b | |
parent | dd1695e997f9daffce4d850fa4d94f68cda7f0c3 (diff) |
add service smtps as part of submission
-rwxr-xr-x | postfix/postfix.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh index d67ccef..fc9076c 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -312,13 +312,22 @@ submission inet n - y - - smtpd -o syslog_name=postfix/$service_name -o smtpd_tls_security_level=encrypt ' + _postconf -Me smtps/inet=' +smtps inet n - y - - smtpd + -o syslog_name=postfix/$service_name + -o smtpd_tls_wrappermode=yes + -o smtpd_sasl_auth_enable=yes +' if [ -n "$sasl_inbound" ]; then _postconf -Me submission/inet/smtpd_sasl_auth_enable=yes + _postconf -Me smtps/inet/smtpd_sasl_auth_enable=yes else _postconf -MX submission/inet/smtpd_sasl_auth_enable + _postconf -MX smtps/inet/smtpd_sasl_auth_enable fi else _postconf -MX submission/inet + _postconf -MX smtps/inet fi if [ -n "$sasl_inbound" ]; then _postconf -e smtpd_sasl_local_domain='$mydomain' @@ -374,6 +383,7 @@ amavisfeed unix - - n - $amavis_maxproc lmtp _postconf -Pe pickup/fifo/content_filter=dkimsign:127.0.0.1:10028 if [ -n "$submission" ]; then _postconf -Pe submission/inet/content_filter='dkimsign:[127.0.0.1]:10028' + _postconf -Pe smtps/inet/content_filter='dkimsign:[127.0.0.1]:10028' fi _postconf -Me dkimsign/unix=" dkimsign unix - - n - $dkimproxy_maxproc_out smtp @@ -396,6 +406,7 @@ dkimsign unix - - n - $dkimproxy_maxproc_out smtp _postconf -PX pickup/fifo/content_filter if [ -n "$submission" ]; then _postconf -PX submission/inet/content_filter + _postconf -PX smtps/inet/content_filter fi fi else |