aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaat <maat@mageia.org>2024-11-05 23:01:26 +0100
committerMaat <maat@mageia.org>2024-11-05 23:01:26 +0100
commitcc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2 (patch)
tree4e9cb3b4d6a0808abbc74d6f4b5c27fd4c76d0f1
parent645b87ed875cb42b509f582b588ec7a8f9cf1615 (diff)
downloadpuppet-cc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2.tar
puppet-cc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2.tar.gz
puppet-cc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2.tar.bz2
puppet-cc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2.tar.xz
puppet-cc9f46eb9f6b4d9fc5447eb64d601f934bbabaf2.zip
Removing ml.mageia.org from destination en secondary neru
-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') -%>