What if your domain's email is hosted else where?

I have a problem where my email is hosted at godaddy and when my website sends an email to me, it tries to deliver it locally rather than send it to godaddy. I have my DNS setup at Zonomi and I point my A record at virtualmin and mx records at godaddy. On virtualmin I created my server domain and setup my website. When my website send me an email, it gets trapped in the server. How do correct this?


I believe the solution to that is to go to “edit virtual server” and disable “mail for domain” - I’ve found that fixes the problem.