Configuring registry settings for Exchange Server user mailbox filtering

Configuring the registry settings described in this section will enable custom filtering for all the Exchange Mailbox tasks hosted on the server.

By creating named ruleset files, you can limit filtering to particular mailboxes.

See About custom filtering ruleset files.

To configure the registry settings to enable custom filtering for Exchange Mailbox tasks

  1. On the computer that hosts the Enterprise Vault Exchange Mailbox task, log on as the Vault Service account.

  2. Start Regedit.

  3. Navigate to the following location:

    HKEY_LOCAL_MACHINE
    \Software
     \KVS
      \Enterprise Vault
       \External Filtering
    

    If the External Filtering key does not exist, create it by performing the following steps in the order listed:

    • Right-click Enterprise Vault and select New > Key.

    • Name the key External Filtering.

  4. Create a Mailbox key as follows:

    • Right-click External Filtering and select New > Key.

    • Name the key Mailbox.

  5. Create a new string value called 1 for the new custom filtering entry.

  6. Right-click the new entry and select Modify. Give it the value:

    EnterpriseVault.CustomFilter
    
  7. Create a new DWORD called Override and set its value to 0 (zero). The Exchange Mailbox task processes the archiving rules for all messages as normal for user mailbox and public folder archiving.

    You can prevent the Exchange Mailbox task from processing archiving rules by setting the Override entry to 1.

  8. If it does not exist, create a DWORD value called MoveOnFilterFailure and set its value to 1.

    This entry controls whether the Exchange Mailbox task moves messages to the folder Failed External Filter when an unhandled error occurs in the external filter. This folder is automatically created when required in the user mailbox.

  9. Close Regedit.

  10. After you have configured the required XML filter rules, restart the Exchange Mailbox tasks.