Do not enable starttls if no certificate
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user