commit 7371fb0d071ba8209f75a29c37bb84a4315c0322
parent de3abfe086f0f1d21cf32da4fcc488df7c760b13
Author: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 31 Dec 2020 09:32:16 -0500
avoid deprecation, fix #112
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/emailwiz.sh b/emailwiz.sh
@@ -62,7 +62,7 @@ echo "Configuring Postfix's main.cf..."
# Change the cert/key files to the default locations of the Let's Encrypt cert/key
postconf -e "smtpd_tls_key_file=$certdir/privkey.pem"
postconf -e "smtpd_tls_cert_file=$certdir/fullchain.pem"
-postconf -e "smtpd_use_tls = yes"
+postconf -e "smtpd_tls_security_level = may"
postconf -e "smtpd_tls_auth_only = yes"
postconf -e "smtp_tls_security_level = may"
postconf -e "smtp_tls_loglevel = 1"