From fe10754881007d8437fa3bbdab2c87bafd0c4907 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 7 Jan 2023 18:23:32 -0300 Subject: [PATCH] feat: pass milter list as env var --- postfixd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfixd.sh b/postfixd.sh index 190be42..3582469 100755 --- a/postfixd.sh +++ b/postfixd.sh @@ -12,7 +12,7 @@ case $1 in postconf -e mydomain="${SUTTY}" postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${DOMAIN}/privkey.pem" postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${DOMAIN}/fullchain.pem" - postconf -e smtpd_milters="inet:${RSPAMD}:11332,inet:opendkim:8891" + postconf -e smtpd_milters="${MILTERS}" test -n "${NETWORKS}" && postconf -e mynetworks="${NETWORKS}" ;;