aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix')
-rw-r--r--modules/postfix/templates/main.cf2
-rw-r--r--modules/postfix/templates/transport_regexp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index acdc7bb4..0b706ac8 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -41,9 +41,7 @@ relay_domains = <%= domain %>,
<%- end -%>
mydestination = <%= fqdn %>
-<%- if classes.include?('sympa::server') -%>
ml.<%= domain %>
-<%- end -%>
<%- if all_tags.include?('postfix::server::primary') -%>
diff --git a/modules/postfix/templates/transport_regexp b/modules/postfix/templates/transport_regexp
index d6c485f1..2db09d95 100644
--- a/modules/postfix/templates/transport_regexp
+++ b/modules/postfix/templates/transport_regexp
@@ -4,4 +4,6 @@ ml_domain = 'ml\.' + domain.gsub('.','\.')
<%- if classes.include?('sympa::server') -%>
/^.*+owner\@<%= ml_domain %>$/ sympabounce:
/^.*\@<%= ml_domain %>$/ sympa:
+<%- else -%>
+/^.*\@<%= ml_domain %>$/ smtp:sucuk.mageia.org
<%- end -%>