Configuring message delivery restrictions
Since distribution groups contain multiple members, you may want to place restrictions on who can send messages to these recipients. Exchange allows you to tightly control these settings and provides several options when it comes to placing message delivery restrictions on groups. We can also place restrictions on other recipient types in the organization. This recipe will show you how to configure these options from the Exchange Management Shell.
How to do it...
To restrict who can send messages to a group, use the Set-DistributionGroup
cmdlet:
Set-DistributionGroup -Identity Sales ` -AcceptMessagesOnlyFrom 'Bob Smith','John Jones'
After running this command, only the users Bob Smith and John Jones can send messages to the Sales
distribution group.
How it works...
The -AcceptMessagesOnlyFrom
parameter allows you to specify one or more recipients who are allowed to send messages to a distribution group. These recipients can be regular users with mailboxes...