summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-12-31 09:32:16 -0500
committerLuke Smith <luke@lukesmith.xyz>2020-12-31 09:32:16 -0500
commit7371fb0d071ba8209f75a29c37bb84a4315c0322 (patch)
tree76f4f4b69f771f6ddf9d5632194cc5cc3678b222
parentde3abfe086f0f1d21cf32da4fcc488df7c760b13 (diff)
avoid deprecation, fix #112
-rwxr-xr-xemailwiz.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index 9975e44..08f8199 100755
--- 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"