Hi,
What exactly is "delivery restriction" in your description?
You can try the following methods:
1 Set-DistributionGroup -Identity "dist group id" -AcceptMessagesOnlyFrom "smtp address"
2 Set a mail flow rule like:
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.