Go Premium for a chance to win a PS4. Enter to Win


Search accoss all mailboxs in Exchange 2007

Posted on 2011-03-25
Medium Priority
Last Modified: 2013-01-03
We have a single server Exchange 2007 setup. We need to search all stores / mailboxes for any emails sent to or recived from a particualr person (external email address), we then need to extract all the emails (not delete) and move to an Admin mailbox (or some other place) to be reviewed for legal reasons. Is this possible and how? Details instruction please.
Question by:ITInterConnect
  • 3
LVL 43

Expert Comment

by:Adam Brown
ID: 35219563
This is pretty tricky without third party software or journalling. If you were utilizing a Journalling account, this would be easy, since journalling allows you to send a copy of all emails to a specific user account as they are received (You may want to get this set up for the future, but there are some legal issues that can come up, so be careful about it).

If you don't have journalling already, the best way I can think of doing it is to run the Message Tracking utility in the toolbox to figure out which users received messages from the person in question (Your tracking logs may need to go back pretty far for this to work right). Once you have the users that received mail from the individual, the only way to pull them out, realistically, is to access their Exchange Mailbox through OWA or Outlook, find the email, and forward it from there.

Accepted Solution

OctInv earned 2000 total points
ID: 35220375
You can achieve this by using Exchange Management Shell cmlts:

get-mailbox -server NameofMailboxServer | export-mailbox -TargetMailbox "NameofMailboxtoImportInto" -targetFolder exportedmail -SenderKeyWords "someone@somewhere.com"

Expert Comment

ID: 35220384
The above command will search for mail sent from a person, if you also want to search for messages sent to that person it is a simple change:

get-mailbox -server NameofMailboxServer | export-mailbox -TargetMailbox "NameofMailboxtoImportInto" -targetFolder exportedmail -RecipientKeyWords "someone@somewhere.com"

Assisted Solution

OctInv earned 2000 total points
ID: 35220411
And even narrow it down with keyword searches within the messages from that user:

get-mailbox -server NameofMailboxServer | export-mailbox -TargetMailbox "NameofMailboxtoImportInto" -targetFolder exportedmail -SenderKeyWords "someone@somewhere.com" -AllContentKeyWords ("word1","word2","word3")

Powershell is your best friend when it comes to managing Exchange 2007 upwards.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to effectively resolve the number one email related issue received by helpdesks.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question