Do not enable starttls if no certificate
This commit is contained in:
@@ -90,7 +90,7 @@ mail {
|
||||
|
||||
server {
|
||||
listen 25;
|
||||
{% if TLS %}
|
||||
{% if TLS and not TLS_ERROR %}
|
||||
starttls on;
|
||||
{% endif %}
|
||||
protocol smtp;
|
||||
|
||||
Reference in New Issue
Block a user