From 7ede9e40313e91f3172392f5c111d836f08d671a Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 10 Apr 2022 17:49:36 -0500 Subject: [PATCH] Fix mail acceptance domain list variable names --- README.md | 2 +- templates/Fedora/35/etc/postfix/main.cf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %}