install_postfix_advanced.sh: set 'inet_interfaces' to 'all' in case of IPv6 Interface(s) present.
This commit is contained in:
parent
69165d9e07
commit
d35c32ef46
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user