aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mail/templates/postfix/virtual-domains.j2
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-05 22:51:51 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commita0eb2564a60b216ebb4f11f42945eeef68eb1579 (patch)
treebe4b9729b5099a7d4fd549befb461b4ae69aea65 /roles/mail/templates/postfix/virtual-domains.j2
parentddc53fbccc185bc52adf1050a98531c3750bf1fd (diff)
downloadansible-dfly-vps-a0eb2564a60b216ebb4f11f42945eeef68eb1579.tar.bz2
mail: setup postfix with dovecot (SASL auth + LDA virtual transport)
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 %}