Forum Discussion
Can 365 ignore internal domains when routing email?
Hi Patrick,
If I understood correctly from your previous posts, your MX records points to Google and you forward mail from there to Office 365. If so, all you need to do is to go to Exchange Online admin center, go to mail flow and change to accepted domains tab. Then double-click the domain in question and change This accepted domain is to Internal Relay and click save. You will get a warning about missing outbound connector, but because your MX points to Google, that is not an issue.
That should do it, let us know whether it worked.
Hi Nestori,
I'm not sure if I've explained myself very well, sorry.
- Group A have Microsoft Accounts and have their Mail Services provided by the 365 Exchange platform. These email accounts are example@ourdomain.com [example].
- Group B have Google Accounts and have their Mail Services provided by the Gmail/G Suite for Education platform. These email accounts are example@groupb.ourdomain.com [example].
We would like for Group B to be able to log in to the Office 365 service so that they may download and install the Office 2016 applications. However, we have found that if we create them an account for the Office 365 platform for the purpose of acessing Office applications, any email sent internally from the Group A to Group B fails as it can not find an email account for it as it attempts to route email internally. This would otherwise work, if there are no @groupb.domain.com accounts in place on 365.
I hope I've made it a bit cleared so that you may better understand - thanks for your help!
- Oct 05, 2018
Okay, that cleared a lot!
For mail routing, the solution is same: set the domain groupb.ourdomain.com as Internal Relay. That changes the behavior so that if you send email to example@groupb.ourdomain.com, and mailbox is not found from Office 365, it is sent to where MX record points to (=Google).
If that is already setup, then the problem is that users have the mailbox in Office 365. So, either use Office 365 ProPlus license (which is cheaper than for instance E3), or use E3 but disable Exchange Online. That way users don't have mailboxes so their emails will be routed to Google.