From 8be3011c1918a3d7359f5c8c92b772e5a4d6e2d5 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Wed, 10 Jun 2020 07:21:26 -0400 Subject: [PATCH] Set smtp_address_preference to any in main.cf --- setup/mail-postfix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/mail-postfix.sh b/setup/mail-postfix.sh index 88d884b7..bb0678b8 100755 --- a/setup/mail-postfix.sh +++ b/setup/mail-postfix.sh @@ -56,6 +56,7 @@ apt_install postfix postfix-sqlite postfix-pcre postgrey ca-certificates postfix # * Extend the SPF time limit to avoid timeouts chasing SPF records tools/editconf.py /etc/postfix/main.cf \ inet_interfaces=all \ + smtp_address_preference=any \ smtp_bind_address=$PRIVATE_IP \ smtp_bind_address6=$PRIVATE_IPV6 \ myhostname=$PRIMARY_HOSTNAME\