Fix mail acceptance domain list variable names

This commit is contained in:
Jason Rothstein 2022-04-10 17:49:36 -05:00
parent cbe3404f2a
commit 7ede9e4031
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ Role Variables
| Variable | Default | Description |
|-|-|-|
| postfix_vhost | inventory_hostname | What mod_md certificate should be used for Postfix |
| domain_list | Undefined | List of strings for domains to accept email for and send to local LMTP for |
| postfix_domain_list | Undefined | List of strings for domains to accept email for and send to local LMTP for |
Dependencies
------------

View File

@ -749,7 +749,7 @@ shlib_directory = /usr/lib64/postfix
smtpd_milters = {% for milter in ensure_postfix.milter_list %} {{ milter.protocol }}:{{ milter.hostname }}:{{ milter.port }} {% endfor %}
{% endif %}
{% if ensure_postifx.domain_list is defined and ensure_postfix.domain_list is iterable %}
virtual_mailbox_domains = {% for domain in ensure_postfix.domain_list %} {{ domain }} {% endfor %}
{% if postfix_domain_list is defined and postfix_domain_list is iterable %}
virtual_mailbox_domains = {% for domain in postfix_domain_list %} {{ domain }} {% endfor %}
{% endif %}