mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
hardening postfix tls configuration
This commit is contained in:
parent
565bc616d8
commit
261cddbf8e
1 changed files with 3 additions and 1 deletions
|
@ -31,16 +31,18 @@ smtpd_tls_auth_only=yes
|
|||
smtpd_tls_cert_file=/etc/ssl/certs/yunohost_crt.pem
|
||||
smtpd_tls_key_file=/etc/ssl/private/yunohost_key.pem
|
||||
smtpd_tls_CAfile = /etc/ssl/certs/ca-yunohost_crt.pem
|
||||
smtpd_tls_exclude_ciphers = aNULL, MD5, DES, ADH, RC4
|
||||
smtpd_tls_exclude_ciphers = aNULL, MD5, DES, ADH, RC4, 3DES
|
||||
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
|
||||
smtpd_tls_loglevel=1
|
||||
smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3
|
||||
smtpd_tls_mandatory_ciphers=high
|
||||
smtpd_tls_eecdh_grade = ultra
|
||||
|
||||
# -- TLS for outgoing connections
|
||||
# Use TLS if this is supported by the remote SMTP server, otherwise use plaintext.
|
||||
smtp_tls_security_level=may
|
||||
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||||
smtp_tls_exclude_ciphers = $smtpd_tls_exclude_ciphers
|
||||
smtp_tls_loglevel=1
|
||||
|
||||
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
|
||||
|
|
Loading…
Add table
Reference in a new issue