Archiving Emails from Microsoft Exchange 2007

Revision as of 12:37, 30 April 2010 by Admin (talk | contribs) (Created page with '== Creating a Central User to Access Mailboxes == The following prerequisites are required to configure Exchange Impersonation: * Administrative credentials for the computer tha…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Jump to: navigation, search

Creating a Central User to Access Mailboxes

The following prerequisites are required to configure Exchange Impersonation:

  • Administrative credentials for the computer that is running Exchange 2007 that has the Client Access server role installed
  • Domain Administrator credentials

All following commands can be executed from the Microsoft Exchange Management Shell.

Add access rights

 Get-ClientAccessServer | Add-AdPermission -User serviceAccount ' 
   -ExtendedRights ms-Exch-EPI-Impersonation
 Get-MailboxDatabase | Add-AdPermission -User serviceAccount '
   -ExtendedRights ms-Exch-EPI-May-Impersonate 

serviceAccount is the user account you want to use as in UPN notation. Please take care that this user is not a member of an Exchange or Windows administrative group. If you want to archive public folders using impersonation, use the following command:

 Get-PublicFolderDatabase | Add-AdPermission -User serviceAccount '
   -ExtendedRights ms-Exch-EPI-May-Impersonate

Check access rights

 Get-ClientAccessServer | Get-Adpermission -User serviceAccount | Format-List *
 Get-MailboxDatabase | Get-Adpermission -User serviceAccount | Format-List *
 Get-PublicFolderDatabase | Get-Adpermission -User serviceAccount | Format-List *

Remove access rights

 Get-ClientAccessServer | Remove-AdPermission -User serviceAccount '
   -ExtendedRights ms-Exch-EPI-Impersonation
 Get-MailboxDatabase | Remove-AdPermission -User serviceAccount '  
   -ExtendedRights ms-Exch-EPI-May-Impersonate
 Get-PublicfolderDatabase | Remove-AdPermission -User serviceAccount '
   -ExtendedRights ms-Exch-EPI-May-Impersonate
Navigation
Tools
Print/export
About MailStore

  • MailStore Server is one of the leading email archiving solutions for SMB.
  • For private use there is a free tool for email archiving furthermore: MailStore Home.