ipv6 support

This commit is contained in:
f 2020-09-24 09:25:56 -03:00
parent 882d89fb66
commit 88e3bedb1e

View file

@ -5,6 +5,6 @@ postconf -e myhostname="${SUTTY}"
postconf -e mydomain="${SUTTY}" postconf -e mydomain="${SUTTY}"
postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${SUTTY}/privkey.pem" 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 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 exec /usr/sbin/postfix start