From 28cb8882f2ab3ef3c7c2f523fd9595f32c35827f Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 21 Feb 2018 15:08:00 +0000 Subject: Deliver emails over IPv4 from neru, it doesn't have a v6 reverse :( --- modules/postfix/templates/main.cf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf index 3676d5ad..2c7408c6 100644 --- a/modules/postfix/templates/main.cf +++ b/modules/postfix/templates/main.cf @@ -37,6 +37,11 @@ inet_interfaces = all <% end %> inet_protocols = all +<% if @hostname == 'neru' then %> +# We do not have a reverse on ipv6 :( +smtp_address_preference = ipv4 +<%- end -%> + # FIXME Do not hardcode this mynetworks = 212.85.158.144/28 [2a02:2178:2:7::]/64 127.0.0.1 163.172.148.228 [2001:bc8:4400:2800::4115] myhostname = <%= fqdn %> -- cgit v1.2.1