From 7371fb0d071ba8209f75a29c37bb84a4315c0322 Mon Sep 17 00:00:00 2001
From: Luke Smith <luke@lukesmith.xyz>
Date: Thu, 31 Dec 2020 09:32:16 -0500
Subject: avoid deprecation, fix #112

---
 emailwiz.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
cgit v1.2.3