The preferred way to
specify the actions to be taken for messages that match a filter
rule is to assign a content category in the rule, in the ruleset
file. You define the default settings included in a content
category in the content categories section of Custom Properties.xml
.
In the ruleset file, you assign a content category as follows:
<RULE NAME="Example rule" ACTION="ARCHIVE_ITEM" CONTENTCATEGORY="content_category_name"> <message attribute filters> </RULE>
The value of "content_category_name"
is the name of the required content category as specified in
Custom Properties.xml
.
In the ruleset file, content categories can only be assigned when ACTION="ARCHIVE_ITEM".