Microsoft Exchange 2007
Integration with Microsoft Exchange 2007 occurs by way of Exchange’s inbuilt web services API. This API is enabled and accessible by default. However, to perform a successful import, one needs to use an account with sufficient privileges to access all mailboxes.
To do this:
- Login to Exchange 2007 server as Administrator
- Either create a new mailbox called ‘journal’ in Microsoft Exchange or use an existing one that does not already have any Admin privileges assigned.
- Run the Exchange Management Shell
- Type the following into the Exchange Management shell:
Get-ClientAccessServer | Add-AdPermission -User journal -ExtendedRights ms-Exch-EPI-Impersonation
Get-MailboxDatabase | Add-AdPermission -User journal -ExtendedRights ms-Exch-EPI-May-Impersonate
Get-MailboxDatabase | Add-AdPermission -User journal -ExtendedRights ms-Exch-EPI-May-Impersonate
Note: If necessary, substitute ‘journal’ to be the chosen username of the impersonation account.
Note: It is also possible to use the computer account created in Active Directory for the purposes of login (as described in Logins). In this case, the mailbox name should resemble the following: “service$@smallbusiness.local”.
To prevent Microsoft Exchange from throttling Архива requests:
New-ThrottlingPolicy -Name mailmigration -EWSFindCountLimit $null -EWSFastSearchTimeoutInSeconds $null -EWSMaxConcurrency $null -EWSMaxSubscriptions $null -EWSPercentTimeInAD $null -EWSPercentTimeInCAS $null -EWSPercentTimeInMailboxRPC $null
$b = Get-ThrottlingPolicy mailmigration;
Set-Mailbox -Identity journal -ThrottlingPolicy $b;
$b = Get-ThrottlingPolicy mailmigration;
Set-Mailbox -Identity journal -ThrottlingPolicy $b;