mynetworks is not needed with mynetworks_style=subnet

This commit is contained in:
f 2020-09-24 09:44:56 -03:00
parent 88e3bedb1e
commit 40a6e33126

View file

@ -5,6 +5,5 @@ 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` `ip -6 route | grep -v default | cut -d " " -f 1`"
exec /usr/sbin/postfix start