From 1c684667eebdba4fea0078b9f4193aa49e2fe712 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 12 Dec 2017 17:12:37 +0100 Subject: [PATCH] install_postfix_base.sh: changed to only listen on local interfaces. --- install_postfix_base.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install_postfix_base.sh b/install_postfix_base.sh index b09e9df..7009c32 100755 --- a/install_postfix_base.sh +++ b/install_postfix_base.sh @@ -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