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

Search accoss all mailboxs in Exchange 2007

Posted on 2011-03-25
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 39

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In-place Upgrading Dirsync to Azure AD Connect
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video discusses moving either the default database or any database to a new volume.

809 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