From 40a6e33126dbebe11c5690fc6550ec21b787c969 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 24 Sep 2020 09:44:56 -0300 Subject: [PATCH] mynetworks is not needed with mynetworks_style=subnet --- postfix.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/postfix.sh b/postfix.sh index e77a79f..fe8d2c9 100644 --- a/postfix.sh +++ b/postfix.sh @@ -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