Create a user in the Active Directory which has access to all mailboxes.
This method is called impersonation
Our recommendation: RdxMaildepotImporter.
Grant access permissions to this account.
Execute the following command in the Microsoft Exchange Management Shell:
New-ManagementRoleAssignment -Name:"Reddoxx Impersonation" -Role:ApplicationImpersonation -User:RdxMailDepotImporter@domain.tld
There is a limited number of results which each folder can receive, therefore an error occurs in folders with a large quantity of mails.
(The policies already existed in Exchange 2010, but with SP1, the default values were changed and the limits set).
The following three commands in the Exchange Management Shell allows you to create a policy in which no limits are set:
New-ThrottlingPolicy ReddoxxImport
Get-ThrottlingPolicy ReddoxxImport | Set-ThrottlingPolicy -EWSFindCountLimit $null -EWSPercentTimeInAD 70 -EWSPercentTimeInCAS 120 -EWSPercentTimeInMailboxRPC 80
Set-Mailbox RdxMailDepotImporter@domain.tld -ThrottlingPolicy ReddoxxImport
If you would like to erase the policy after the Import process has finished, you can do this with the following two commands:
Set-Mailbox RdxMailDepotImporter@domain.tld -ThrottlingPolicy $null
Remove-ThrottlingPolicy ReddoxxImport