Rule actions

The following actions can be applied to messages that match a rule filter:

The following actions can be applied to message attachments that match an attachment filter:

If the message has nested messages with attachments, the action will be applied to all nested message attachments.

If the action applied to a message is "HARD_DELETE", no attempt is made to evaluate any files attached to the message.

The extract below shows how a rule name, message action and attachment action might be specified in the ruleset file. In this example, any messages that satisfy the message attribute filters will be archived in the default archive. Also, any Exchange Server messages attachments that match the attachment filter will be deleted and replaced with a file called Deleted Attachments.txt:

<RULE NAME="Archive Rule 1" ACTION="ARCHIVE_ITEM"
	ATTACHMENT_ACTION="REPLACE">
  <message attribute filters>
  <attachment attribute filter>
</RULE>