install_postfix_base.sh: changed to only listen on local interfaces.

This commit is contained in:
Christoph 2017-12-12 17:12:37 +01:00
parent 6f106439e3
commit 1c684667ee

View File

@ -473,9 +473,11 @@ inet_protocols = ipv4, ipv6
#inet_interfaces = all
inet_interfaces = 127.0.0.1
$IPV4
$IPV6
inet_interfaces =
127.0.0.1
::1
#$IPV4
#$IPV6
myhostname = $HOSTNAME
@ -504,7 +506,7 @@ inet_protocols = ipv4
#inet_interfaces = all
inet_interfaces =
127.0.0.1
$IPV4
#$IPV4
myhostname = $HOSTNAME
@ -519,8 +521,8 @@ mynetworks =
127.0.0.0/8
${IPV4}/32
#smtp_bind_address = $IPV4
#smtp_bind_address6 = $IPV6
smtp_bind_address = $IPV4
smtp_bind_address6 = $IPV6
EOF
fi