feat: pass milter list as env var

This commit is contained in:
f 2023-01-07 18:23:32 -03:00
parent 85ff030556
commit fe10754881

View file

@ -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}"
;;