From a0eb2564a60b216ebb4f11f42945eeef68eb1579 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 5 Mar 2018 22:51:51 +0800 Subject: mail: setup postfix with dovecot (SASL auth + LDA virtual transport) --- roles/mail/templates/postfix/virtual-domains.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 roles/mail/templates/postfix/virtual-domains.j2 (limited to 'roles/mail/templates/postfix/virtual-domains.j2') diff --git a/roles/mail/templates/postfix/virtual-domains.j2 b/roles/mail/templates/postfix/virtual-domains.j2 new file mode 100644 index 0000000..3997d1b --- /dev/null +++ b/roles/mail/templates/postfix/virtual-domains.j2 @@ -0,0 +1,14 @@ +# +# /usr/local/etc/postfix/virtual-domains +# Postfix: $virtual_mailbox_domains +# +# The list of domains for which Postfix is the final destination, +# i.e., the (virtual) domains hosted. +# +# Aaron LI +# 2018-03-05 +# + +{% for domain in mail.domains %} +{{ domain }} +{% endfor %} -- cgit v1.2.2