Minor fix to dovecot ssl config for virtual host domains.
This commit is contained in:
parent
a72c8440f8
commit
440e83f3f0
@ -38,9 +38,11 @@ To operate multiple domains from a single server, add additional domains to the
|
||||
```yaml
|
||||
postfix_virtual_domains:
|
||||
- name: example.org
|
||||
mx_domain: mail.example.org
|
||||
cert: /var/acme/certificates/mail.example.org.crt
|
||||
key: /var/acme/certificates/mail.example.org.key
|
||||
- name: example.net
|
||||
mx_domain: mail.example.net
|
||||
cert: /var/acme/certificates/mail.example.net.crt
|
||||
key: /var/acme/certificates/mail.example.net.key
|
||||
```
|
||||
|
@ -53,7 +53,7 @@ ssl_dh=<{{ postfix_smtpd_tls_dh1024_param_file }}
|
||||
{% if postfix_virtual_domains|length > 0 %}
|
||||
{% for domain in postfix_virtual_domains %}
|
||||
# SNI configuration for {{ domain.name }}
|
||||
local_name {{ domain.name }} {
|
||||
local_name {{ domain.mx_domain }} {
|
||||
ssl_cert = <{{ domain.cert }}
|
||||
ssl_key = <{{ domain.key }}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user