aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/templates')
-rw-r--r--modules/postfix/templates/simple_relay_main.cf3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/postfix/templates/simple_relay_main.cf b/modules/postfix/templates/simple_relay_main.cf
index a4e4ba26..9c977502 100644
--- a/modules/postfix/templates/simple_relay_main.cf
+++ b/modules/postfix/templates/simple_relay_main.cf
@@ -33,7 +33,6 @@ smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/pki/tls/certs/postfix.pem
smtpd_tls_key_file = /etc/pki/tls/private/postfix.pem
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
-relayhost = alamut.<%= domain %>
<%- if classes.include?('sympa::server') -%>
local_recipient_maps =
@@ -45,6 +44,8 @@ sympabounce_destination_recipient_limit = 1
recipient_delimiter = +
# This is ugly for a simple relay but we need ml.mageia.org to accept email :(
inet_interfaces = all
+# Another hack to only have sucuk use it, it seems alamut allows it for relay but not other machines
+relayhost = alamut.<%= domain %>
<%- else -%>
inet_interfaces = localhost
<%- end -%>