Set-Mailbox -RejectMessagesFromSendersOrMembers

In Easy365Manager, you can restrict senders from sending emails to a specific user by selecting “Senders in the following list” in the “Reject messages from” section of Delivery Restrictions.

Watch a quick video guide here.

The Delivery Restrictions setting can be located by opening up properties for a user and selecting the Mailbox tab.

Clicking Delivery Restrictions opens up the following form, where you find “Senders in the following list,” as well as the option to add and remove senders in the “Reject messages from” section:

In Easy365Manager, adding senders to “Senders in the following list” does the same as specifying senders or members in the ‘RejectMessagesOnlyFromSendersOrMembers’ parameter of the Set-Mailbox PowerShell command.

The PowerShell command “Set-Mailbox -RejectMessagesOnlyFromSendersOrMembers” is used to configure email rejection settings for specific senders or members:

Set-Mailbox -Identity lene.hau -RejectMessagesFromSendersOrMembers "alexander.cook@", "alexander.ruiz@"

By using this command, administrators can enforce strict communication controls by preventing unwanted or potentially harmful emails from specific sources. This can help reduce spam, phishing attempts, and other unsolicited messages that could compromise mailbox security or inundate users with irrelevant content. The command provides a customizable approach, allowing organizations to tailor rejection criteria according to their specific needs.

The primary benefit of using “Set-Mailbox -RejectMessagesFromSendersOrMembers” is enhanced security and improved mailbox management. By setting up rejection rules, organizations can better protect sensitive information, maintain a clutter-free inbox, and enhance overall email communication efficiency. This command contributes to a more streamlined email experience for users and minimizes the risk of falling victim to malicious or unwanted content.