diff modules/postfix/templates/main.cf.erb @ 176:048bc4d6af43 puppet-3.6

Make Postfix IPv4 only We have IPv6 on the server, but not publicly routable. Disabling IPv6 through sysctl didn't work
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Mar 2018 10:19:53 +0100
parents 9af4b04c2667
children 83885499c093
line wrap: on
line diff
--- a/modules/postfix/templates/main.cf.erb	Sat Mar 31 10:19:03 2018 +0100
+++ b/modules/postfix/templates/main.cf.erb	Sat Mar 31 10:19:53 2018 +0100
@@ -6,6 +6,7 @@
 myhostname = <%= @mailserver %>
 myorigin = $mydomain
 inet_interfaces = all
+inet_protocols = <%= @protocols %>
 mydestination = $myhostname, localhost.$mydomain, localhost
 unknown_local_recipient_reject_code = 550
 mynetworks = 127.0.0.0/8