From 6ba27925b7ca89a906c53e0168cd437f521b610f Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 12 Jun 2019 08:45:47 +0200 Subject: TLS Encryption --- emailwiz.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emailwiz.sh') diff --git a/emailwiz.sh b/emailwiz.sh index f4763c2..829eeef 100755 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -34,6 +34,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 -- cgit v1.2.3-70-g09d2