diff --git a/build/run/docker-entrypoint/init.d/30-postfix.sh b/build/run/docker-entrypoint/init.d/30-postfix.sh index 9f368aa..8add629 100755 --- a/build/run/docker-entrypoint/init.d/30-postfix.sh +++ b/build/run/docker-entrypoint/init.d/30-postfix.sh @@ -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