install_postfix_advanced.sh: set 'inet_interfaces' to 'all' in case of IPv6 Interface(s) present.

This commit is contained in:
Christoph 2023-01-29 23:58:44 +01:00
parent 69165d9e07
commit d35c32ef46

View File

@ -1491,11 +1491,11 @@ if [ -n "$IPV6" ]; then
cat <<EOF >> /etc/postfix/main.cf
inet_protocols = ipv4, ipv6
#inet_interfaces = all
inet_interfaces =
127.0.0.1
$IPV4
$IPV6
inet_interfaces = all
#inet_interfaces =
# 127.0.0.1
# $IPV4
# $IPV6
myhostname = $HOSTNAME