mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 09:16:18 +00:00
Moved whitelist ahead of policyd-spf check
This commit is contained in:
parent
8d70e17909
commit
d3377b860a
5 changed files with 22 additions and 60 deletions
|
|
@ -43,4 +43,4 @@ postfix reload &&
|
|||
echo -e "\n\e[1;32mMail service is ready\e[0m\n"
|
||||
|
||||
# Monitor log
|
||||
tail -f /var/log/mail/maillog.debug{,.0} # /var/log/mail/maillog{,.0}
|
||||
tail -F /var/log/mail/maillog.debug{,.0} # /var/log/mail/maillog{,.0}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue