Understanding Managed Folders

Document created by user.oxriBaJeN4 Employee on Sep 11, 2015Last modified by user.oxriBaJeN4 Employee on Jun 21, 2019
Version 5Show Document
  • View in full screen mode

This article describes the requirements, available message actions, and process that the Managed Folders feature takes when processing an Exchange mailbox.




To use the Managed Folders feature you will need:

  • The Mimecast Synchronization Engine installed, configured and active in your environment.
  • A mailbox enabled user with read and write access to the mailboxes you want to process.
  • A Mimecast Administrator account with edit permissions to the Administration | Services | Exchange Services menu in the Administration Console.
  • A Managed Folders definition.
  • At least one Exchange Task to apply your definition to the mailboxes you want to process.


Managed Folder policy types

Within a Managed Folder definition, it's possible to configure any combination of the following three policy types:

  • Mimecast Managed Folders - New folders created in a mailbox by the Managed Folders Exchange task. Users will move messages to these folders and the Administrator defined policy is applied.
  • Exchange Well Known Folders - Inbox, Sent Items, Deleted Items, and Junk Mail folders. The Administrator defined policy is applied to messages found in these folders.
  • Default Policy - An Administrator defined policy that is applied to all folders in the mailbox. Where there is a Mimecast Managed Folders or Well Known Folders policy also configured in the definition, these folders are exempt from the Default policy.


Messages Actions


For each policy type, three actions can be defined:

Exchange Delete

Messages can be deleted from the Exchange mailbox after an Administrator defined number of days. The delete actions available are:

- Hard delete: the message is deleted bypassing the Exchange dumpster. Consequently, these messages are not available using the Exchange Recover Deleted Items feature.

- Soft delete: the message is deleted but the Exchange dumpster feature is honored. Consequently, these messages can be restored by an end user using the Exchange Recover Deleted Items feature.

- Move to Deleted Items: messages are moved to the Exchange Deleted Items Well Known folder.

- Take no action: - the message is not deleted from the Exchange mailbox. This setting is used to trigger either the Expire View or Archive Purge action without removing the message from the Exchange mailbox.

Expire View

Message content (not metadata) is expired from view for end users (not Administrators using the Administration Console).

Messages subject to this condition:

- will continue to return in end user searches, however the message body and any attachments will not be available to the user.

- are still available to any other sender / recipient that have not had the policy applied to their mailbox.

- are still available for Administrators using the Administration Console.

Archive Purge

The expiry date of message content and metadata is adjusted in the Mimecast archive. The expiry date can either be reduced or extended. A message is purged by adjusting the expiry date of the message, as defined when the message is received by mail in transit or in your journal feed. If the Purge from Archive Policy extends the existing expiry of a message, the expiry will be extended when it is updated from any source mailbox.

However, if the Archive Purge policy reduces the existing expiry of the message, the purge instruction must be received from all internal senders and recipients of the message in order for expiry to be adjusted. Once a message is purged, it's not available to end users or administrators.




When a mailbox is processed by a Managed Folders definition, folders are processed in this order:

  1. Mimecast Managed Folders - if defined any Mimecast Managed Folders are the first folders to be processed.
  2. Well Known Folders - if defined the next folders processed are the Exchange Well Known Folders. These can be the Inbox, Sent Items, Deleted Items, or Junk Mail folders.
  3. Default Policy - if defined the Default policy is then processed.
    1. If defined, Mimecast Managed Folders are not processed by the Default Policy.
    2. If defined, Well Known Folders are not processed by the Default Policy.
    3. However, if there are no Well Known Folder policies defined then these folders will be subject to the Default policy.


Considered Mailbox Items 

IPM Classes


An IPM class is a message property maintained for all Exchange mailbox items. By default the following IPM message classes are considered and processed by Managed Folders:

  • IPM.Note
  • IPM.Note.* (any class under the IPM.Note namespace).


This includes:

  • Messages with embedded email attachments.
  • Mimecast stubbed messages.
  • Third party messages stubs.
  • Messages processed by document management systems.


Overriding the default settings

If you want to exclude specific message classes from a Managed Folder task (e.g. you want to maintain 3rd party stubs in your users' mailbox), you can override the default settings by following these steps:

  1. Create a file in the DAT directory on your Mimecast Synchronization Engine server named global.ini. By default the path is C:\Program Files\Mimecast\SynchronizationEngine\dat.
  2. Add this line and save the file:

    Mse.Fbr.ExcludeClasses=IPM CLASS TO EXCLUDE
    - Where IPM CLASS TO EXCLUDE is the name of the IPM class, for example IPM.Note.EnterpriseVault.Shortcut.
    - IPM classes are case sensitive.
    - To enter multiple IPM classes use a comma separated list.
  3. The next time the Managed Folder policy task runs, the IPM classes specified will be excluded.

It is also possible to include message classes that do not fall under IPM.Note or IPM.Note.*. To ensure other message classes are added correctly and with no unintended data loss, we recommend contacting our support team for assistance.

Message Archive Status

Unless the Delete Unmatched Items setting is used, Managed Folder policies will only take action on messages matching the conditions in your policy that are found in the Mimecast archive. If a message is not found in the archive, a property is added to the message indicating that the message should not be considered the next time the mailbox is processed, consequently leaving the message in the mailbox. This can happen if you use Managed Folders prior to ingesting your legacy data into the archive.


If you find that your Managed Folder policy is not deleting messages that you have ingested into the archive, you can override this property by following these steps:

  1. Create a file in the DAT directory on your Mimecast Synchronization Engine server named global.ini. By default the path is C:\Program Files\Mimecast\SynchronizationEngine\dat.
  2. Add this line and save the file:
  3. The next time the Managed Folder policy task runs the take no action properties will not be considered.


Next Steps


2 people found this helpful