Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 42

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 ""

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 ""

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 "" -AllContentKeyWords ("word1","word2","word3")

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

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an email address policy 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…

670 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