summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-10-23 11:23:02 +0200
committerJonas Smedegaard <dr@jones.dk>2020-10-23 11:23:02 +0200
commit258f5709423ab275b0447c14305344c168848311 (patch)
tree067d71806b8f191466dfaac6194e38f84fb9a521
parent92f62e64685ffbc08ea660e51bf3428c110b647c (diff)
fix set smtp_tls_CAPath
-rwxr-xr-xpostfix/postfix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/postfix.sh b/postfix/postfix.sh
index 135775a..698ed20 100755
--- a/postfix/postfix.sh
+++ b/postfix/postfix.sh
@@ -279,6 +279,7 @@ fi
_postconf -e smtp_tls_security_level=may
if [ -n "$ENABLE_TLS" ]; then
_postconf -e smtp_tls_chain_files="$TLS_CHAIN_FILES"
+ _postconf -e smtp_tls_CAPath=/etc/ssl/certs
else
_postconf -X smtp_tls_chain_files
fi
@@ -314,7 +315,6 @@ _postconf -X smtpd_tls_CAfile
# obsolete TLS-related settings
_postconf -X smtpd_use_tls
-_postconf -X smtp_tls_CApath
_postconf -X lmtp_tls_CApath
_postconf -X smtp_tls_CAfile
_postconf -X lmtp_tls_CAfile