> Some of our users have set up their domain names in our email hosting system. 
> These domain names will be added to virtual_alias_domains. However, for some 
> reason, these users did not point their mx records to our mx server, but to 
> other hosting services, such as Outlook's server. In this case, when our mail 
> system delivers mail for this domain, it will deliver it locally instead of 
> delivering it to Outlook. My question is, can I configure Postfix to deliver 
> mail based on the mx record instead of the local virtual table?

We address this issue by utilizing a bash script that runs hourly via cron. The 
script checks the MX records of domains and updates the virtual_mailbox_domains 
file accordingly by adding or removing domains as needed.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to