Moved whitelist ahead of policyd-spf check

This commit is contained in:
myve 2025-03-18 00:16:45 +00:00
commit d3377b860a
5 changed files with 22 additions and 60 deletions

View file

@ -46,7 +46,7 @@ then
addwhitelist_helo=(${MYVEMAIL_WHITELIST_HELO//,/ })
for whitelist_helo in ${addwhitelist_helo[@]}
do
echo "/${whitelist_helo//./\\.}/ OK Whitelisted SPF" | tee -a /etc/postfix/helo_access >/dev/null
echo "/${whitelist_helo//./\\.}/ OK Whitelisted SPF" | tee -a /etc/postfix/{helo_access,whitelisted_domains} >/dev/null
done
fi