summaryrefslogtreecommitdiffstats
path: root/roles/mtaserver/templates/mydestination_table.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mtaserver/templates/mydestination_table.j2')
-rw-r--r--roles/mtaserver/templates/mydestination_table.j26
1 files changed, 4 insertions, 2 deletions
diff --git a/roles/mtaserver/templates/mydestination_table.j2 b/roles/mtaserver/templates/mydestination_table.j2
index a86f076..420e781 100644
--- a/roles/mtaserver/templates/mydestination_table.j2
+++ b/roles/mtaserver/templates/mydestination_table.j2
@@ -1,6 +1,8 @@
-{% if is_mtamaster is defined %}
-{% for item in mydest %}
+{% if mtadomain is defined %}
+{% for item in mtadomain %}
{{ item }} OK
+smtp.{{ item }} OK
+{{ ansible_hostname }}.{{ item }} OK
{% endfor %}
{% endif %}