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