ZCS Administration Guide Network Edition 6.0.6 March 2010
Table of Contents Previous Next Index


Zimbra Archiving and Discovery : Searching Across Mailboxes

Searching Across Mailboxes
When the archiving and discovery feature is installed, you can search across mailboxes using the discovery tool either from the administration console or through the command line interface.
Note: You do not need to have any archive mailboxes configured to search across mailboxes, the package just needs to be installed.
You can assign a user to run the mailbox searches from the administration console by creating a delegated administrator with rights to access the mailbox search tool. See Delegated Administration.
Cross Mailbox Search from the Administration Console
The discovery tool, Search Mail, is added to Tools on the administration console Navigation pane when the archiving package is added. When you click Search Mail, a search page opens, allowing you to configure the following information:
Server name. The server name of the to be searched.
Target mailbox and folders. One target mailbox and folder is created automatically. You can use this mailbox for all your search results and create new folders for each search, or you can create a new target mailbox for each separate search.
Note: A target mailbox is like any other mailbox and can have any features or preferences that are defined by the COS or by account. Target mailboxes are listed in the administration console Accounts list. You may want to give the target mailboxes account names that identifies them as target mailboxes for cross-mailbox searches and configure a COS specific for target mailboxes to be able to manage access. For example: CMS_user1.example.com. CMS is a prefix that means cross mailbox search. With this practice, all target mailboxes are listed together
You can select to send an email notification when the search is completed. The email notification includes the search task ID and status on the subject line and you can specify the type of to include in the message, such as the number of messages found, the list of addresses resulting from the search and the search query used.
Select which mailboxes to search: all archive mailboxes, all live mailboxes or selected mailboxes. When you check Select accounts to search, you select which account addresses to search.
Create the search query. You can search outgoing and incoming email by date, from, to, cc, subject, keywords, and attachments. Advanced Search can be used to quickly create a query to search by name, dates and time ranges, distribution list, aliases. For a list of the search grammar that can be used see the Zimbra Wiki, Search Tips article.
When searching archive messages, you can search by the envelope address using the envfrom and envto query language extensions.
As the search is being run, the Search Mailbox Content pane lists the search and the status. You can click Refresh to update this page.
You should delete the search task when it is completed as it occupies server memory. Note: When the server is restarted the searches listed in the Search Mailbox Content pane are deleted.
When you use the discovery feature in the administration console, the tool makes copies of messages in the target mailbox you create. The messages occupy server space, increasing the size of your server. You may want to delete these messages from the target mailbox when they are no longer needed.
Search using the Command Line Interface
Use the CLI command, zmarchivesearch to run the cross mailbox search from the command line.
For more information about zmarchivesearch, refer Appendix A, Command-Line Utilities.

Zimbra Archiving and Discovery : Searching Across Mailboxes

Table of Contents Previous Next Index
ZCS Administration Guide Network Edition 6.0.6 March 2010
Copyright © 2010 Zimbra Inc.