From da3bb01bb8f104e32f2848b0f04f7a5f3ce63a60 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 9 Jun 2020 13:36:35 -0400 Subject: [PATCH] make it so ipv4 is used for iad2 systems --- .../postfix/main.cf/main.cf.bastion01.iad2.fedoraproject.org | 2 ++ roles/base/files/postfix/main.cf/main.cf.iad2 | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/base/files/postfix/main.cf/main.cf.bastion01.iad2.fedoraproject.org b/roles/base/files/postfix/main.cf/main.cf.bastion01.iad2.fedoraproject.org index 6562f3faa7..3be9548a90 100644 --- a/roles/base/files/postfix/main.cf/main.cf.bastion01.iad2.fedoraproject.org +++ b/roles/base/files/postfix/main.cf/main.cf.bastion01.iad2.fedoraproject.org @@ -144,6 +144,8 @@ inet_interfaces = all # Enable IPv4, and IPv6 if supported #inet_protocols = all inet_protocols = ipv4 +smtp_address_preference = ipv4 + # The proxy_interfaces parameter specifies the network interface # addresses that this mail system receives mail on by way of a diff --git a/roles/base/files/postfix/main.cf/main.cf.iad2 b/roles/base/files/postfix/main.cf/main.cf.iad2 index 7fb1af560d..86120c904c 100644 --- a/roles/base/files/postfix/main.cf/main.cf.iad2 +++ b/roles/base/files/postfix/main.cf/main.cf.iad2 @@ -111,7 +111,9 @@ myorigin = fedoraproject.org #inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost -inet_interfaces = all +inet_interfaces = ipv4 +smtp_address_preference = ipv4 + # The proxy_interfaces parameter specifies the network interface # addresses that this mail system receives mail on by way of a