aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates/simple_relay_main.cf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates/simple_relay_main.cf')
-rw-r--r--modules/postfix/templates/simple_relay_main.cf5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/postfix/templates/simple_relay_main.cf b/modules/postfix/templates/simple_relay_main.cf
index 192c0f6c..a4e4ba26 100644
--- a/modules/postfix/templates/simple_relay_main.cf
+++ b/modules/postfix/templates/simple_relay_main.cf
@@ -22,7 +22,6 @@ mail_owner = postfix
myhostname = <%= fqdn %>
mydomain = <%= domain %>
-inet_interfaces = localhost
inet_protocols = all
mynetworks_style = host
#delay_warning_time = 4h
@@ -44,4 +43,8 @@ sympa_destination_recipient_limit = 1
sympabounce_destination_recipient_limit = 1
# needed by sympa to handle bounce, according to the doc
recipient_delimiter = +
+# This is ugly for a simple relay but we need ml.mageia.org to accept email :(
+inet_interfaces = all
+<%- else -%>
+inet_interfaces = localhost
<%- end -%>