postfix: fix edge case bug with the sni file when no domain has mail enabled

This commit is contained in:
Alexandre Aubin 2023-12-26 17:42:05 +01:00
parent 609c3911d3
commit 155418409e

View file

@ -1,2 +1,4 @@
# This maps domain to certificates to properly handle multi-domain context
# (also we need a comment in this file such that it's never empty to prevent regenconf issues)
{% for domain in domain_list.split() %}{{ domain }} /etc/yunohost/certs/{{ domain }}/key.pem /etc/yunohost/certs/{{ domain }}/crt.pem
{% endfor %}
{% endfor %}