Do not enable starttls if no certificate

master
kaiyou 7 years ago
parent 8a2ddcdf30
commit 3230554b0d

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

Loading…
Cancel
Save