Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
XADM: How to Find Mailboxes That Contain a Specific Message
Article ID: 246916 - View products that this article applies to.
This article was previously published under Q246916
You may need to find which mailboxes have messages meeting specific criteria. For example, you may need to identify which mailboxes have a known virus-infected document or a copy of a company confidential message. You can perform this task with the Microsoft Exchange Mailbox Merge program (Exmerge.exe), version 3.71.
In version 3.71, ExMerge reports the number of messages that it processes that meet the criteria you specify in the Data Selection Criteria dialog box. ExMerge outputs this information to the Exmerge.log file, normally at the root of the C drive. You can easily examine this log to extract the information you require.
Note that the subject, attachment name, and date criteria are AND'ed together, as in (Date) AND (Subj1 OR Subj2 OR... SubjN) AND (Attach1 OR Attach2 OR ... AttachN). For example, filling in the Subject field with "ILOVEYOU" and the Attachment field with ".vbs" will cause ExMerge to search for mail with both ILOVEYOU in the subject line and an attachment with a .vbs extension. However, ExMerge would not search for mail with a different subject or with an attachment having a different extension.
To find which mailboxes contain messages that meet specific criteria:
To obtain the latest version of ExMerge, contact Microsoft Product Support Services. For additional information on the ExMerge utility, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/174197/EN-US/ )XADM: Microsoft Exchange Mailbox Merge Program (Exmerge.exe) Information