locked
Message Delivery restrictions on users in database RRS feed

  • Question

  • Hi, I want to remove all delivery restrictions for all users in a specific database. Does someone have a script to do this please? Server is Exchange 2013 and the database name is College. Thanks
    • Edited by KiwiGLEE Monday, December 8, 2014 5:16 AM
    Monday, December 8, 2014 5:13 AM

Answers

  • Hi,

    We can use the following command to remove message delivery restrictions for all users on a specific database.

    Get-Mailbox -database “College” | set-mailbox -AcceptMessagesOnlyFrom $null -AcceptMessagesOnlyFromDLMembers $null -RejectMessagesFrom $null -RejectMessagesFromDLMembers $null –RequireSenderAuthenticationEnabled $false

    Also we need to check what Willard Martin said.

    Best Regards.


    • Edited by Lynn-LiModerator Wednesday, December 10, 2014 2:56 AM
    • Marked as answer by KiwiGLEE Wednesday, December 10, 2014 3:35 AM
    Wednesday, December 10, 2014 2:53 AM
    Moderator

All replies

  • Kiwi,

    Keep in mind that regardless of the lack of restrictions for the mailboxes, the connector and organizational restrictions will still apply.  In order to remove all restrictions on these users, you need to remove all send and receive connector restrictions, and both of the organizational restrictions.  After this, if you need these restrictions, you need to place restrictions on all of the individual mailboxes that are NOT in this database.

    Monday, December 8, 2014 2:30 PM
  • Hi,

    We can use the following command to remove message delivery restrictions for all users on a specific database.

    Get-Mailbox -database “College” | set-mailbox -AcceptMessagesOnlyFrom $null -AcceptMessagesOnlyFromDLMembers $null -RejectMessagesFrom $null -RejectMessagesFromDLMembers $null –RequireSenderAuthenticationEnabled $false

    Also we need to check what Willard Martin said.

    Best Regards.


    • Edited by Lynn-LiModerator Wednesday, December 10, 2014 2:56 AM
    • Marked as answer by KiwiGLEE Wednesday, December 10, 2014 3:35 AM
    Wednesday, December 10, 2014 2:53 AM
    Moderator
  • Thanks heaps. All cleared now.

    Wednesday, December 10, 2014 3:43 AM