aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postfix/templates/main.cf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 21ea6ca4..6b42a4de 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -49,7 +49,9 @@ relay_domains = <%= domain %>,
<%- end -%>
mydestination = <%= fqdn %>
+<%- if all_tags.include?('postfix::server::primary') -%>
ml.<%= domain %>
+<%- end -%>
<%- if all_tags.include?('postfix::server::primary') -%>