Browse Source

TLS Encryption

pull/11/head
daniel 4 years ago
parent
commit
6ba27925b7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      emailwiz.sh

+ 3
- 0
emailwiz.sh View File

@@ -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


Loading…
Cancel
Save