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

This commit is contained in:
myve 2025-03-05 01:04:45 +00:00
commit 3f2485ce0d

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