diff --git a/README.md b/README.md index 957071c..aac6d8f 100644 --- a/README.md +++ b/README.md @@ -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 ------------ diff --git a/templates/Fedora/35/etc/postfix/main.cf b/templates/Fedora/35/etc/postfix/main.cf index 445c833..9287fe5 100644 --- a/templates/Fedora/35/etc/postfix/main.cf +++ b/templates/Fedora/35/etc/postfix/main.cf @@ -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 %}