After turning on Domain Rewrite for the users, an email loop started and stopped messages from being delivered.
As part of the Domain Rewrite process, a forwarding rule is configured on the user account. If, during the mailbox migration, an additional forwarding rule is set on the ODM mailbox in the opposite direction, this will result in a mail loop.