Configuring Content Filtering

23 May 2024

ID 267381

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, 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 Put original message to 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.
    4. If you want to remove message headers in case of a Content Filtering module error, in the Delete headers field, specify the headers that you want to remove.

      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
    5. If you want to modify message headers in case of a Content Filtering module error, in the Modify headers field, 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.

  8. Click Save.

General configuration of Content Filtering is complete.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.