---
title: How do I configure and use the Email Archiving feature in SecurityGateway?
description: SecurityGateway includes a message archive utility that stores messages in a searchable database.  Administrators can view archived mail, download messages, and/or redeliver messages to domain mail servers as needed.
---

[Skip to content](https://knowledge.mdaemon.com/how-to-configure-and-use-the-email-archiving-feature-in-securitygateway#main-content)

[![](https://knowledge.mdaemon.com/hs-fs/hubfs/MDaemon-Technologies_logo.png?width=200&height=150&name=MDaemon-Technologies_logo.png)](https://mdaemon.com/)

- [Knowledge Base Home](https://knowledge.mdaemon.com/)
- [Go to www.mdaemon.com](https://mdaemon.com/)

Open main navigation

Close main navigation

- [Knowledge Base Home](https://knowledge.mdaemon.com/)
- [Go to www.mdaemon.com](https://mdaemon.com/)
- [Contact Us](https://mdaemon.com/pages/contact-us)

[Contact Us](https://mdaemon.com/pages/contact-us)

 Knowledge Base

- There are no suggestions because the search field is empty.

1. [Knowledge Base Home](https://knowledge.mdaemon.com/?hsLang=en)
2. [SecurityGateway for Email Servers](https://knowledge.mdaemon.com/securitygateway-for-email-servers?hsLang=en)

# How do I configure and use the Email Archiving feature in SecurityGateway?

## SecurityGateway includes a message archive utility that stores messages in a searchable database. Administrators can view archived mail, download messages, and/or redeliver messages to domain mail servers as needed.

The Email Archiving feature includes a journaling feature to create and send Journaling reports and forward archived mail to a specified address. 

Note: This feature is available in SecurityGateway versions 6.0.0 and above. 

**To enable global Email Archiving:**

1. Login to the SecurityGateway web GUI as the global administrator account
2. Select **Setup/Users**
3. Select **Archiving**
4. Select **Configuration**
5. Click the **Enable Email Archiving** check box.  
   ![1222-securitygateway\_archive\_enable](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1222-securitygateway_archive_enable.png?width=523&name=1222-securitygateway_archive_enable.png)
6. Select the **Automatically Create Archive Stores** checkbox to create archive stores for each configured domain.  
   ![1222-securitygateway\_archive\_stores](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1222-securitygateway_archive_stores.png?width=523&name=1222-securitygateway_archive_stores.png)
7. Click **Click here to configure automatic archive store creation** to open the **Automatic Archive Store Creation** menu and edit the following:
8. Modify the options to create a new archive.  
   ![1222-securitygateway\_archive\_stores\_config](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1222-securitygateway_archive_stores_config.png?width=688&name=1222-securitygateway_archive_stores_config.png)
9. Choose the default or customized directory path to store archives.  
   ![1222-securitygateway\_archive\_stores\_directories](https://knowledge.mdaemon.com/hs-fs/hubfs/KBAs/1222-securitygateway_archive_stores_directories.png?width=688&name=1222-securitygateway_archive_stores_directories.png)

To create exceptions to the global Email Archiving configuration, select the desired domain from the **For Domain:** drop down list on the top right of the web GUI. Choose between using the globally defined settings or create custom settings for the domain. This menu will allow administrators to enable/disable Email Archiving and/or Journaling for domains. 

**To modify the Email Archive store to create, edit, and/or delete existing archive store settings:**

1. Login to the SecurityGateway web GUI as the global administrator account
2. Select **Setup/Users**
3. Select **Archiving**
4. Select **Archive Stores**

Editing the archive store will enable the administrator to:

1. Enable Search queries against the selected Archive Store.
2. Enable/Disable the selected archive store to archive new messages.
3. Edit the Archive Store name.
4. Edit the Archive Store directory path.
5. Check the **Use different directories for database, message content, and search index** checkbox to separate archive data to separate folders.

**To search and interact with archived messages:**

1. Login to the SecurityGateway web GUI as the global administrator account
2. Select **Setup/Users**
3. Select **Archiving**
4. Select **Search Archived Messages**
5. Choose to search through **--All--** archive stores or select an individual domain in the top right **For Domain:** drop down
6. Enter desired search criteria in the **Search For:** text box
7. Select **Advanced** to open advanced search criteria variables
8. Select the desired message(s) and choose from the following actions: 
     - View Message 
           - If multiple messages are selected and this option is chosen, the first selected message will be displayed.
     - Download Message(s) 
           - Single message downloads are in a EML format.  Multiple messages are downloaded in a ZIP container file.
     - Restore to Mailbox 
           - Check the Message Log for a log of the redelivery.

**To configure an automated or manual Backup of the Archive Store(s):**

1. Login to the SecurityGateway web GUI as the global administrator account
2. Select **Setup/Users**
3. Select **Database**
4. Select **Backup**
5. To configure automated archive store backup:
6. Click **Automatically backup archive stores**
7. Choose desired timeframe to perform the backup
8. (Optional) Choose **Only backup active archive stores** to backup accounts that are active
9. To create a manual backup:
10. Select **Click here to backup archive stores now**

Backups are stored in the **\\SecurityGateway\\Backups\\ArchiveStores\\(domain\_name)\\(archive\_name)** directory by default.

- [MDaemon Email Server](https://knowledge.mdaemon.com/mdaemon-email-server?hsLang=en#main-content)

    - [Mobile Device Management](https://knowledge.mdaemon.com/mdaemon-email-server?hsLang=en#mobile-device-management)
- [MDaemon AntiVirus (SecurityPlus)](https://knowledge.mdaemon.com/mdaemon-antivirus-securityplus?hsLang=en)
- [ActiveSync for MDaemon](https://knowledge.mdaemon.com/activesync-for-mdaemon?hsLang=en)
- [MDaemon Connector for Outlook (Outlook Connector)](https://knowledge.mdaemon.com/mdaemon-connector-for-outlook-outlook-connector?hsLang=en)
- [SecurityGateway for Email Servers](https://knowledge.mdaemon.com/securitygateway-for-email-servers?hsLang=en)
- [RelayFax Network Software](https://knowledge.mdaemon.com/relayfax-network-software?hsLang=en)

[![Chill listening crop-3](https://knowledge.mdaemon.com/hs-fs/hubfs/belch.io/template-assets/MDaemon-Technologies_logo.png?width=199&height=41&name=MDaemon-Technologies_logo.png "Chill listening crop-3")](https://www.mdaemon.com)

[Knowledge Base Home](https://knowledge.mdaemon.com?hsLang=en)

<https://www.youtube.com/c/MDaemonTechnologies> <https://www.linkedin.com/company/mdaemon-technologies/> <https://www.facebook.com/MDaemon.Technologies/> <https://www.twitter.com/MDaemon_Email>

Copyright © 2025, MDaemon Technologies