diff manifests/templates.pp @ 317:2a20a5b7f65a

Swap IPv6 Postfix to "all" protocols to support PROXY Without this the proxied connection sends "PROXY TCPv4" and Postfix rejects it
author IBBoard <dev@ibboard.co.uk>
date Sat, 29 Feb 2020 13:21:01 +0000
parents 49e66019faf7
children 99e3ca448d55
line wrap: on
line diff
--- a/manifests/templates.pp	Thu Feb 27 21:00:28 2020 +0000
+++ b/manifests/templates.pp	Sat Feb 29 13:21:01 2020 +0000
@@ -713,7 +713,7 @@
 		mailserver_ip => $mailserver_ip,
 		mailserver_proxy => $proxy_ip,
 		proxy_upstream => $proxy_upstream,
-		protocols  => $mailserver_ip =~ Stdlib::IP::Address::V6 ? { true => 'ipv6', default => 'ipv4' },
+		protocols  => $mailserver_ip =~ Stdlib::IP::Address::V6 ? { true => 'all', default => 'ipv4' },
 	}
 	class { 'dovecot':
 		imapserver => $imapserver,