From 7e4dc6b24536c2a371c58577f8f4e63b9885983f Mon Sep 17 00:00:00 2001 From: Jason Rothstein Date: Sun, 10 Apr 2022 17:56:34 -0500 Subject: [PATCH] Rename postfix_domains to make it easier to use --- 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 aac6d8f..3ba5b55 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 | -| postfix_domain_list | Undefined | List of strings for domains to accept email for and send to local LMTP for | +| postfix_domains | 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 9287fe5..aabbb33 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 postfix_domain_list is defined and postfix_domain_list is iterable %} -virtual_mailbox_domains = {% for domain in postfix_domain_list %} {{ domain }} {% endfor %} +{% if postfix_domains is defined and postfix_domains is iterable %} +virtual_mailbox_domains = {% for domain in postfix_domains %} {{ domain }} {% endfor %} {% endif %}