Secure Messaging with MicrosoftВ® Exchange Server 2003 (Pro-Other)

Sometimes it s necessary to search your Exchange databases for particular content. For example, one client of mine, a law firm, was required to produce all messages containing a certain key phrase sent within a two-year window ”not a trivial task. Apart from the obvious legal applications of these searches, it can be useful to be able to locate all copies of messages with keywords if you need to eradicate a macro virus, confidential document, or other piece of unwanted message content. First you have to find it.

If you only need to search one mailbox, that s simple. Turn on Exchange s content indexing, log on to the mailbox you want to search, and then perform your search. Of course, you have to log on to the mailbox to search it, which is inconvenient, and you can only search one mailbox at a time, but these are minor impediments. If you want to search multiple mailboxes, things get a little tougher.

Searching Mailboxes with Exmerge

You can use the free Microsoft Exmerge tool (included on the Exchange product CD in the Support\Utils\I386\Exmerge\ directory, from the Exchange tools directory at http://www.microsoft.com/exchange/tools/2003.asp , or available directly from the Microsoft Product Support Services organization) to find and remove messages by subject line or attachment name . This functionality was designed to ease the process of removing macro viruses, which often have fixed subject lines or predictable attachment names . Although this is not as useful as being able to keyword-search message bodies and attachments, it s certainly better than nothing, and it is free.

Note  

In Exchange 5.5, you could use the free Microsoft Isscan tool to search for and remove messages. However, Isscan only understands the 5.5 priv.edb format, and it has no support for multiple message stores or storage groups. If you try to run it against Exchange 2000 or Exchange Server 2003, you ll find that it won t work.

Exmerge has one significant drawback: when you use it to scan for messages, it removes any messages that it finds from the store and copies them into a personal folder file (.pst); after all, that s what the tool is designed to do. Because you generally won t want to tip off your search targets by making the critical evidence disappear from their mailboxes, the best solution is generally to work on a copy of the mailbox databases, scanning the copy and extracting the messages without touching the original data. This is the equivalent of doing an alternate-server disaster recovery. See the Microsoft Exchange Web site ( http://www.microsoft.com/exchange/ ) for information on the best way to accomplish this.

Follow the instructions in the Exmerge.doc file to install Exmerge. Once you install Exmerge on your Exchange server and run it, the Exmerge Wizard starts up. After the Welcome page, you ll be asked whether you want to do a one-step or two-step Exmerge run. The one-step process exports messages and reimports them to the destination server. In this case, it would be better to leave the messages in their destination .pst file so you can inspect them. Accordingly, select Extract Or Import (Two-Step Process) on the Procedure Selection wizard page and click Next .

The first interesting wizard page for this task is the Source Server page (see Figure 9-4). Use this page to specify the mailbox server you want to scan, keeping in mind that Exmerge scans all databases on all storage groups of the server.

Figure 9-4: Use the Source Server page to select which mailbox server you want to scan.

On the Source Server page, you ll need to click Options to display the Data Selection Criteria dialog box, which has five tabs you can use to specify which messages to extract and what to do with them:

Once you ve filled out the tabs in the Data Selection Criteria dialog box, you might want to proceed to the Database Selection wizard page of Exmerge, depending on the configuration of your Exchange server. This page lists all of the databases and storage groups on the target server so you can select which databases you want to search. After you pick the databases, the next wizard page allows you to choose the mailboxes you want to scan. For both of these pages, there are handy Select All buttons that help you quickly scan everything.

The next interesting page is the Target Directory page, where you tell Exmerge where to put the .pst file containing extracted messages. If you re scanning mailboxes for security reasons, this directory should be on a machine with appropriate security protections (including NTFS permissions on the extracted message file). Next comes a page in which you can save your Exmerge settings to a file for future use, and the next page actually starts the scan.

Категории