Update build/run/docker-entrypoint/init.d/30-postfix.sh

This commit is contained in:
myve 2025-03-04 23:42:28 +00:00
commit 8ee3c93cf4

View file

@ -34,7 +34,7 @@ fi
addmx=(${MYVEMAIL_DOMAIN})
addmx+=(${MYVEMAIL_ADDMX//,/ })
echo -n | tee /etc/postfix/{helo_access,{whitelisted,blacklisted}_{domains,emails}} >/dev/null
echo "outbound.protection.outlook.com OK Outlook helos" >/etc/postfix/helo_access
echo "*outbound.protection.outlook.com OK Outlook helos" >/etc/postfix/helo_access
for domain in ${addmx[@]}
do
echo "${domain} OK Primary and backup mail servers" | tee -a /etc/postfix/helo_access >/dev/null