aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/templates/postfix/virtual-domains.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mail/templates/postfix/virtual-domains.j2')
-rw-r--r--roles/mail/templates/postfix/virtual-domains.j214
1 files changed, 14 insertions, 0 deletions
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 %}