Configuring Content Filtering

Expand all | Collapse all

To configure Content Filtering settings in the message processing rule:

  1. In the application web interface window, select the Rules section.
  2. In the rule table, select the rule for which you want to configure Content Filtering.

    This opens the View rule window.

  3. In the left pane, select the Content Filtering section.
  4. Click Edit.

    Content Filtering settings become editable.

  5. On the Main tab, select the message processing mode when multiple expressions are triggered:
    • Apply the action of the expression with the highest priority, ignore other expressions
    • Apply the strictest of the actions of all matched expressions

      If multiple expressions with different actions are triggered, the expressions with the strictest action is selected (in descending order of strictness: Delete messageRejectDelete attachmentSkip).

  6. In the Expressions table, click Create and create Content Filtering expressions.
  7. On the Actions on scan error tab, under If content filtering error occurred, configure the actions the application applies in case the Content Filtering module returns an error.
    1. Select the action to apply to the message:
      • Skip.
      • Reject.
      • Delete message.

      The Skip action is selected by default.

    2. If you want to automatically place in Backup those messages that were not processed by the Content Filtering module because of an error, turn on the Place original message in Backup toggle switch.
    3. If you want to add some text to the subject of messages that could not be processed by the Content Filtering module because of an error, in the Text to add to message subject field, enter the text you want to add.
  8. Under Additional settings, configure other actions for content filtering errors.
    1. If you want to remove message headers in case of a Content Filtering module error, on the Actions on headers tab, under Delete headers, specify the headers that you want to remove.

      Modifying or deleting headers may lead to DKIM authentication failure or non-delivery of the message

      Modifying or deleting headers may lead to DKIM authentication failure or non-delivery of the message

      Headers are removed if a Skip, Delete attachment, or Disinfect action is taken on the message.

      You can specify headers to be removed on the following tabs:

      • Text
      • Wildcard
      • Regexp
    2. If you want to modify message headers in case of a Content Filtering module error, on the Actions on headers tab, under Modify headers, specify the headers that you want to modify.

      Headers are modified if a Skip, Delete attachment, or Disinfect action is taken on the message.

      If the header is found in the message, it is removed, and a similar header with the specified value is added to the end of the list of headers. If the header is not present in the message, it is added to the end of the list of message headers.

      To add headers for editing, click Add, and in the displayed window, specify the name and value of the header that you want to modify, then click OK. If necessary, repeat these steps for other headers.

      The name and value of the header must contain only Latin letters (case-insensitive). The maximum length is 450 characters.

      You can remove headers from Modify headers. To do so, select the check boxes next to one or more headers that you want to remove, click Delete, and confirm the action.

    3. If you want to send notifications when the Content Filtering module encounters an error, on the Notifications tab, click Add and configure the following:
      1. In the Template drop-down list, select a notification template.
      2. Under Recipients, select check boxes next to the recipients of the notification. Recipients may be:
        • Recipients from the general list.

          This option is available if the general list of recipients contains at least one email address.

        • Message recipients.
        • Message sender.
        • Custom addresses.
      3. If you selected the Custom addresses option, in the Custom addresses field, specify other email addresses of notification recipients.

        Use a semicolon or a new line to separate email addresses.

      4. Under Notification contents, select one of the following values:
        • Notification only.
        • Notification with the original message attached.

      If necessary, repeat the steps to configure as many notifications as you need.

      In case of a Content Filtering error, only error notifications are sent.

  9. Click Save.

General configuration of Content Filtering is complete.

Page top