commit 7788391d60454133264c80e512b92e555d027503
parent 1f4b00646209cc558c39e4c026f25997161805a1
Author: Luke Smith <luke@lukesmith.xyz>
Date: Sat, 9 Nov 2019 10:49:59 -0500
Merge pull request #11 from yungdan1/master
Fix TLS encrypted emails to Gmail
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/emailwiz.sh b/emailwiz.sh
@@ -36,6 +36,9 @@ postconf -e "smtpd_tls_key_file=/etc/letsencrypt/live/$maildomain/privkey.pem"
postconf -e "smtpd_tls_cert_file=/etc/letsencrypt/live/$maildomain/fullchain.pem"
postconf -e "smtpd_use_tls = yes"
postconf -e "smtpd_tls_auth_only = yes"
+postconf -e "smtp_tls_security_level = may"
+postconf -e "smtp_tls_loglevel = 1"
+postconf -e "smtp_tls_CAfile = /etc/letsencrypt/live/$maildomain/cert.pem"
# Here we tell Postfix to look to Dovecot for authenticating users/passwords.
# Dovecot will be putting an authentication socket in /var/spool/postfix/private/auth