aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/postfix/templates/main.cf7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index ae65b0bf..4ad0c337 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -27,7 +27,7 @@ relayhost = sucuk.<%= domain %>
# User configurable parameters
<% if all_tags.include?('postfix::simple_relay') %>
-inet_interfaces = localhost
+inet_interfaces = localhost, 127.0.0.1
<% else %>
inet_interfaces = all
<% end %>
@@ -39,7 +39,7 @@ 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]
+mynetworks = 212.85.158.144/28 [2a02:2178:2:7::]/64 127.0.0.1/16 163.172.148.228 [2001:bc8:4400:2800::4115]
myhostname = <%= fqdn %>
mydomain = <%= domain %>
<%- if all_tags.include?('postfix::server::secondary') -%>
@@ -150,3 +150,6 @@ smtpd_recipient_restrictions = permit_mynetworks
check_policy_service unix:extern/postgrey/socket
<%- end -%>
<%- end -%>
+
+# Needed for buggy clients
+always_add_missing_headers = yes