mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update main.cf
This commit is contained in:
parent
35425a1b36
commit
6273790a63
1 changed files with 5 additions and 0 deletions
|
@ -54,7 +54,12 @@ smtpd_tls_loglevel=1
|
|||
|
||||
# -- TLS for outgoing connections
|
||||
# Use TLS if this is supported by the remote SMTP server, otherwise use plaintext.
|
||||
{% if relay_port == "465" %}
|
||||
smtp_tls_wrappermode = yes
|
||||
smtp_tls_security_level = encrypt
|
||||
{% else %}
|
||||
smtp_tls_security_level = may
|
||||
{% endif %}
|
||||
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||||
smtp_tls_exclude_ciphers = aNULL, MD5, DES, ADH, RC4, 3DES
|
||||
smtp_tls_mandatory_ciphers= high
|
||||
|
|
Loading…
Add table
Reference in a new issue