summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-11-09 10:49:59 -0500
committerGitHub <noreply@github.com>2019-11-09 10:49:59 -0500
commit7788391d60454133264c80e512b92e555d027503 (patch)
tree2fa970111d7abb17fa85c0bda7c8360b1415e620
parent1f4b00646209cc558c39e4c026f25997161805a1 (diff)
parent6ba27925b7ca89a906c53e0168cd437f521b610f (diff)
Merge pull request #11 from yungdan1/master
Fix TLS encrypted emails to Gmail
-rwxr-xr-xemailwiz.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/emailwiz.sh b/emailwiz.sh
index e1bb1fb..96f2bfd 100755
--- 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