Get the App
SLTechnology News&Howtos  ›  Servers  › 

Rebuild the system mailbox of the Exchange mail system

Shulou Source: shulou.com Published: 2022-06-02 07:11:39 11月11日 Update

After the expansion of the forest domain architecture, the Exchange mail system will create five new arbitration mailboxes, also known as system mailboxes, in the AD domain control. Different system mailboxes are responsible for different system functions. A brief description of the functions of each system mailbox is as follows:

The Exchange system mailbox is under the Users organizational unit in the domain control.

In daily work, some administrators do not know what these users do, and are still in a disabled state. Think that these accounts are useless and are often deleted by mistake. So how to recover after mistakenly deleting these accounts? What is gratifying is that Exchange gives the recovery operation of erroneous deletion, so that the administrator who mistakenly deletes the Exchange system account can have a chance to repent. The following describes how to recreate a system mailbox after it is mistakenly deleted.

1. Determine the user permissions and don't panic.

First of all, you should not panic, determine the exchange version of the current server installation, prepare the Exchange installation media program, and extract it to the Exchange server. Then prepare an account with the Recipients Permissions and Enterprise Admins group roles.

2. Log in to the mail server with Exchange installation media and run the command to extend the domain architecture

Run Powershell as an administrator, go to the directory where the exchange installation media is located (such as: cd e:\ Exchange), and run the following command

.\ Setup.exe / IAcceptExchangeServerLicenseTerms / PrepareAD

3. Use the command to enable the mail function for the system mailbox one by one

Open Exchange Powershell and execute the following command:

1) rebuild the Alliance system mailbox

Enable-Mailbox-Identity "FederatedEmail.4c1f4d8b-8179-4148-93bf-00a95fa1e042"-Arbitration

2) rebuild mailbox migration system mailbox

Enable-Mailbox-Identity "Migration.8f3e7716-2011-43e4-96b1-aba62d229136"-ArbitrationSet-Mailbox-Identity "Migration.8f3e7716-2011-43e4-96b1-aba62d229136"-Arbitration-Management $true-Force

3) rebuild the mailbox of the examination and approval system

Get-User-ResultSize unlimited | where {$_ .Name-like "SystemMailbox {1f05a927*"} | Enable-Mailbox-Arbitration

4) rebuild the mailbox of OAB,UM system

Enable-Mailbox-Identity "SystemMailbox {bb558c35-97f1-4cb9-8ff7-d53741dc928c}"-ArbitrationGet-Mailbox "SystemMailbox {bb558c35-97f1-4cb9-8ff7-d53741dc928c}"-Arbitration | Set-Mailbox-Arbitration-UMGrammar $true-OABGen $true-GMGen $true-ClientExtensions $true-MessageTracking $true-PstProvider $true-MaxSendSize 1GB-Force$OABMBX = Get-Mailbox "SystemMailbox {bb558c35-97f1-4cb9-8ff7-d53741dc928c}"-8ff7-d53741dc928c Set-ADUser $OABMBX.SamAccountName-Add @ {"msExchCapabilityIdentifiers" = "40", "42", "43", "44", "47", "51", "52", "46"}

5) rebuild the Discovery system mailbox

Enable-Mailbox-Identity "SystemMailbox {e0dc1c29-89c3-4034-b678-e6c29d823ed9}"-ArbitrationSet-Mailbox-Identity "SystemMailbox {e0dc1c29-89c3-4034-b678-e6c29d823ed9}"-Arbitration-UMDataStorage $true-Force

6), verification results

Set-ADServerSettings-ViewEntireForest $true; Get-Mailbox-Arbitration | Format-Table Name,DisplayName

Tags: System mailbox command account mail media function server administrator service management operation different architecture user preparation mail system panic panic relief Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi MariaDB OPPO Reno MySQL Shulou Information