Do not enable starttls if no certificate

master
kaiyou 7 years ago
parent 8a2ddcdf30
commit 3230554b0d

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

Loading…
Cancel
Save