aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postfix/templates/main.cf5
1 files changed, 5 insertions, 0 deletions
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 %>