We have a need to route email from O365 to a subdomain. Emails from 365 to the subdomain need to route to a smart host in our datacenter that has a mail bot running on it. I have the subdomain added as an internal relay accepted domain and a send connector that specifies that emails to the subdomain route to the smart host. However, the emails are not using this connector and are instead using the default send connector that routes mail to our on-prem Exchange servers.
I should also mention that we are currently in hybrid mode and have centralized transport enabled.
Can anyone tell me how to get emails to the subdomain to route to the correct smart host? The email would only ever be sent by internal people so we don't need this to work with external senders.
So to summarize, we need emails from domain.com in 365 sent to bot.domain.com to route to a smart host and not to Exchange on-prem as we are planning to go out of hybrid and decommission the on-prem servers eventually.
Thanks

