Here is the scenario that I couldn't find answer to:
What we have:
We (company A) have sold part of the company (800 users) to company B. We need to redirect their email (Domain A) to their new email address Domain B with a twist
What we need:
ONLY Emails from outside the organisation should be redirected. Emails from domain A should be blocked/reject or deleted...
meaning employee1@domainA sends email to migrateduser@DomainA should be rejected/deleted
But email@example.com sends email to migrateduser@DomainA should get redirect to migrateduser@DomainB
What I did:
First, I put in place one Transport Rule -> to delete email from inside organisation going to the migrated users.
And for the redirect I used the command Set-Mailbox -DeliverToMailboxAndForward $true -ForwardingSMTPAddress $new-address
What's the issue
The issue is that both are applied. employee1@domainA gets an error when he send email from to migrateduser@DomainA but his email is ALSO redirected to migrateduser@DomainB
Any thoughts on this urgent matter?