Configuring mail attachment filtering

March 25, 2022

ID 16781

Kaspersky Anti-Virus can filter objects attached to email messages. You can use filtering to exclude from anti-virus scanning attachments that satisfy the filter settings and set a separate procedure for them. By default, attachments are not filtered.

To configure the attachment filtering settings:

  1. Select the profile whose settings you want to edit.
  2. In the action panel click the Modify button and in the control panel select the Mail protection tab.
  3. On the General tab in the Attachment filtering section, you can configure the filtering settings for objects attached to email·messages. To do so, select the following check boxes and specify the values of their corresponding settings:
    • Filter by size. Check this box if you want Kaspersky Anti-Virus to check the size of objects attached to messages. In the Do not scan objects larger than field, specify the value in kilobytes above which objects is filtered and excluded from anti-virus scanning. In the dropdown list, select an item corresponding to the status to be assigned by Kaspersky Anti-Virus to this object. Objects are assigned not scanned status by default.
    • Filter by name. Select this check box if you want Kaspersky Anti-Virus to check the names of objects attached to messages. In the Do not scan objects by mask field, set the masks of the filenames that will be filtered and excluded from anti-virus scanning. In the dropdown list, select an item corresponding to the status to be assigned by Kaspersky Anti-Virus to this object. Objects are assigned not scanned status by default.

      Filtering by filename is case-sensitive.

    You can specify several file name masks separated by the ";" symbol. Use the following symbols to create a mask:

    • * – an arbitrary string of characters of any length. For example, if the mask is set to abc*, no file whose name begins with abc is scanned: abc.exe, abc1.com, abc2.rar.
    • ? – any single character. For example, if the mask is set to abc?.exe, no file whose name begins with abc followed by one other character after c is scanned: abc1.exe. However, the file abc12345.exe will be scanned.

    If the Filter by size and Filter by name check boxes are not selected, the objects corresponding to them are not filtered.

  4. In the action panel, click the Apply button to save the changes. To restore the default settings, click the Restore defaults button.

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.