Domain Rewrite – Configure Target to Source Tenant Rewrite
说明
ODM Domain Rewrite does not by default rewrite the address when configured for Source Rewrite. If a mailbox in the target tenant which is enabled for Source rewrite sends email to a non-enabled account in the source tenant this email is not rewritten and the from address is that of the Primary SMTP from the Target account. Email sent to other external addresses are correctly rewritten.
原因
ODM Domain Rewrite does not by default rewrite the address when configured for Source Rewrite. If a mailbox in the target tenant which is enabled for Source rewrite sends email to a non-enabled account in the source tenant this email is not rewritten and the from address is that of the Primary SMTP from the Target account. Email sent to other external addresses are correctly rewritten.
解决办法
This can be worked around by forcing email to be delivered to ARS servers for rewrite.
In the Target Tenant create a contact for all Source accounts with the source email address as the target address. This may already have been done to add these accounts to the Target Tenants GAL
In the Target Tenant ODM Domain Rewrite will have created several Distribution Lists for the purposes of Domain Rewrite Message Rules. Locate the Distribution List with the name BT-IntegrationPro-{Source Tenant GUID} eg. BT-IntegrationPro-d829decc-32a4-41a4-82ba-f4c501bc8
Add the contacts previously created for the Source Tenant to this group as group members.
Sending email to these contacts will now cause mail to hit the transport rule - BT-IntegrationPro-Out--{Source Tenant GUID} -ToCc which will result in the email being sent to ARS and being rewritten.