diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-11-09 10:49:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-09 10:49:59 -0500 |
commit | 7788391d60454133264c80e512b92e555d027503 (patch) | |
tree | 2fa970111d7abb17fa85c0bda7c8360b1415e620 | |
parent | 1f4b00646209cc558c39e4c026f25997161805a1 (diff) | |
parent | 6ba27925b7ca89a906c53e0168cd437f521b610f (diff) |
Merge pull request #11 from yungdan1/master
Fix TLS encrypted emails to Gmail
-rwxr-xr-x | emailwiz.sh | 3 |
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 |