From 88e3bedb1ed3f2ebe7d05e78bf1af2921eba6571 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 24 Sep 2020 09:25:56 -0300 Subject: [PATCH] ipv6 support --- postfix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix.sh b/postfix.sh index 6b6e6ec..e77a79f 100644 --- a/postfix.sh +++ b/postfix.sh @@ -5,6 +5,6 @@ postconf -e myhostname="${SUTTY}" postconf -e mydomain="${SUTTY}" postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${SUTTY}/privkey.pem" postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${SUTTY}/fullchain.pem" -postconf -e mynetworks="127.0.0.0/8 [::1]/128 `ip route | grep -v default | cut -d " " -f 1`" +postconf -e mynetworks="127.0.0.0/8 [::1]/128 `ip route | grep -v default | cut -d " " -f 1` `ip -6 route | grep -v default | cut -d " " -f 1`" exec /usr/sbin/postfix start