Example ruleset file

The following example Default Filter Rules.xml file shows the filter rule required. This file must be located in the folder, Custom Filter Rules, in the Enterprise Vault installation folder (typically C:\Program Files\Enterprise Vault\Custom Filter Rules).

<?xml version="1.0"?>
<RULE_SET xmlns="x-schema:ruleset schema.xdr">
	<RULE NAME="MBX DIFF_RET_CAT" ACTION="ARCHIVE_ITEM" 
		CONTENTCATEGORY="MsgClassTest" RETENTION="180Day">
		<NAMEDPROP TAG="MSGCLASS" INCLUDES="ANY">
			<PROP VALUE="IPM.Appointment" />
		</NAMEDPROP>
	</RULE>
</RULE_SET>

Settings in the file are used as follows: