About Tests

The test component of a policy rule specifies the message characteristic that should be analyzed, the test expression that is compared to that message characteristic, and the operator that defines the condition under which the test is true.

For example, a test might look for the word "Internal" in the message subject. In that case, the message characteristic would be "Subject," the test expression would be "Internal", and the operator would be "Contains".

Text boxes for specifying the operator and test expression are not displayed until the message characteristic is selected.

Multiple tests can be specified within a single rule. When multiple tests are configured, you are prompted to specify the cumulative result of all the tests. Choose from one of the four options in the drop-down list:

  • If ALL criteria are met: All of the tests must be true for the rule's action(s) to be performed.
  • If ANY criteria are met: Only one of the tests must be true for the rule's action(s) to be performed.
  • If NO criteria are met: None of the tests can be true for the action(s) to be performed.
  • Not ALL criteria are met: At least one of the tests must not be true for the action(s) to be performed.

Whenever multiple tests are specified, PureMessage displays a set of buttons beneath each test. Use the up and down arrow buttons to change the order in which the tests are performed. Use the "X" button to delete a specific test.

Note: As of PureMessage 5.2.1, some tests allow you to specify Japanese characters. See the version 5.2.1 section of the Release History for details.