Skip to content

Commit

Permalink
postfix: fix edge case bug with the sni file when no domain has mail …
Browse files Browse the repository at this point in the history
…enabled
  • Loading branch information
alexAubin committed Dec 26, 2023
1 parent 609c391 commit 1554184
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/postfix/sni
Original file line number Diff line number Diff line change
@@ -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 %}

0 comments on commit 1554184

Please sign in to comment.