Do not enable starttls if no certificate

This commit is contained in:
kaiyou
2017-10-21 18:58:18 +02:00
parent 8a2ddcdf30
commit 3230554b0d

View File

@@ -90,7 +90,7 @@ mail {
server {
listen 25;
{% if TLS %}
{% if TLS and not TLS_ERROR %}
starttls on;
{% endif %}
protocol smtp;