Hi lahmed123,
I suppose it can be done via a Outlook inbox rule.
The general steps would be like:
1.create a new remote domain for xyz.com via Exchange Management Shell to allow autoforward to that domain (By default Exchange doesn't allow autoforward to external)
New-RemoteDomain -DomainName xyz.com -Name xyz
2.create a Outlook inbox rule in a mailbox which is a member of this distribution group (You may either create a new mailbox then add it to the distribution group or use an existing mailbox)
The rule would be like:
3.make sure the External distribution group (@xyz .com) accept messages from external
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.