Configuring settings of message content filtering for a rule

To configure message content filtering settings for a rule:

  1. In the main window of the program web interface, open the management console tree and select the Rules section.
  2. In the rules list, click the name of the rule to open the rule for which you want to configure the message content filtering settings.
  3. Select the Content Filtering section.
  4. Flip on the toggle switch next to the name of the Content Filtering settings group if it is off.
  5. To restrict transmission of messages containing attachments of a certain size:
    1. In the If the allowed message size is exceeded settings group, click the link to the right of the Message size limit setting name to open the Attachment size scan limit window.
    2. In the field under the window name, enter the maximum size of objects in the range from 0 KB to 1048576 KB (1 GB).

      If the value is set to 0 KB, no restrictions apply to the size of objects.

    3. Click the OK button.

      The Attachment size scan limit window closes.

  6. To restrict transmission of messages containing attachments of a certain format:
    1. In the If attachment type is banned settings group, click the link to the right of the Banned formats of MIME parts setting name to open the Attachment types excluded from scanning window.
    2. Select check boxes next to the formats of attachments the transmission of which you want to restrict.

      You can restrict transmission of messages with the following attachments:

      • Executable files (e.g., EXE; DLL; OCX)
      • Document files (e.g., DOC; XLS; PDF; PPT)
      • Multimedia files (e.g., AVI; WMV; MP3)
      • Graphic files (e.g., JPG; BMP; WMF)
      • Archives (e.g., ZIP; RAR; TGZ)
      • Databases (e.g., ACCDB; ACCDC; MDB)
      • Other files (e.g., TXT; CHM; HTM)
    3. Click the Close button.

    The Attachment types excluded from scanning window closes.

  7. To restrict transmission of messages containing attachments with specific names:
    1. In the If attachment name is banned settings group, click the link to the right of the Banned names of attachments setting name to open the Names excluded from scanning window.
    2. In the field under the window name, enter the masks of names of attachments the transmission of which you want to restrict.

      You can use masks and regular expressions as names of attachments. Names can contain any characters. Separate addresses with semicolons (";").

      Regular expressions and masks are case-insensitive.

      For example, you can enter the *.exe name mask to restrict transmission of messages that include attachments with the EXE extension.

      To restrict the forwarding of messages containing executable files of common formats, you can use the following regular expressions:

      re:.*\.(scr|cpl|com|bat|cmd|vbs|pif|lnk|url|exe|bvs|spl|dll)$; re:^[^\t\n]*\.[A-Za-z0-9]+\.(exe|vbs|cpl|dll)[. ]*$

    3. Click the OK button.

    The Names excluded from scanning window closes.

  8. If you want to scan for forbidden formats or names of files within archives, select the Scan file formats and names in archive check box.
  9. If you want to scan for forbidden formats or names of files within compound objects, select the Scan compound objects check box.

    If you enable scanning of compound objects, scanning of archives will also be enabled.

    If you disable scanning of compound objects, scanning of archives will also be disabled because archives are compound objects.

  10. Click the Apply button in the lower part of the workspace.

In order for the settings you have configured to be used during operation of Kaspersky Secure Mail Gateway, make sure to enable content filtering of messages for the rule and to enable the configured rule.

See also

Content filtering of messages

About message content filtering status labels

Enabling and disabling content filtering of messages

Setting the maximum archive nesting level for content filtering

Setting default values for Content Filtering settings

Enabling and disabling content filtering of messages for a rule

Configuring actions to take on messages during content filtering

Configuring tags added to message subjects based on content filtering results

Page top