How to give permission to access all the mailboxes of a mailbox database or a server in Exchange 2007?
You can open and read the content of mailbox if you have Full Mailbox Access or Receive As permission on it.
Sometimes auditor, HR person or some application wants access on all the mailboxes of a database or a server, in that case you can assign Receive As permission at mailbox database level for a user/group which grants access to logon to all the mailboxes.
Reference: How to Allow Mailbox Access
Let’s say, I need to give access to open all the mailboxes of a server “ESS-Exch702″ to a user “Auditor”.
We can give Receive-As permission on all the mailbox databases of a server with blow command.
Get-MailboxDatabase -Server “ESS-Exch702″ | Add-ADPermission -User “Auditor” -ExtendedRights Receive-As
Note: The configuration change does not take effect until store cache is refreshed, which is by default two hours interval or for immediate effect we can restart Exchange Information Store service.
After giving Receive-As permission to Auditor on ESS-Exch702 server, it can open all the mailboxes which are available on it.
If you want to give access to open all the mailboxes of just a database then you can run below command.
Get-MailboxDatabase -Identity “Name Of Database” | Add-ADPermission -User “Auditor” -ExtendedRights Receive-As
You can not Send As a mail on behalf of mailbox even though you have Full Mailbox access or Receive As permission and for that you need to assign Send As permission.