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
On the computer that hosts the Enterprise Vault Exchange Mailbox task, log on as the Vault Service account.
Navigate to the following location:
HKEY_LOCAL_MACHINE \Software \KVS \Enterprise Vault \External Filtering
Create a new string value called 1 for the new custom filtering entry.
Right-click the new entry and select Modify. Give it the value:
EnterpriseVault.CustomFilter
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.
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.
After you have configured the required XML filter rules, restart the Exchange Mailbox tasks.