Setting Up Filtering of Messages Containing Specific File Types

In addition to scanning mail for viruses, you can set up Kaspersky Antivirus to filter attached files with specific file name extensions or MIME-types. You can specify the file types that must be delivered without scanning and the file types that must not be scanned and delivered to recipients.

To specify file types that must not be scanned and delivered:

  1. Go to Modules > Kaspersky Antivirus > Server-wide Scanning Settings > Scanning Settings > Filtering Settings tab.
  2. Under the Black list group, type the file name extensions or MIME-types, separating them with a coma and a white space.

    For example, to filter Windows executable files, specify either .*\.exe$ in the File name box, or application/binary in the MIME-type box.

  3. Specify what to do when the messages containing the blacklisted files arrive: you can choose to remove the message with attachment, move it to quarantine for further inspection, and send the respective notices to sender, recipient, or server administrator.
  4. To save the settings, click OK.

To specify file types that must be delivered without scanning:

  1. Go to Modules > Kaspersky Antivirus > Server-wide Scanning Settings > Scanning Settings > Filtering Settings tab.
  2. Under the White list group, type the file name extensions or MIME-types, separating them with a coma and a white space. For example, if you do not want antivirus to scan messages that have attached Microsoft Word documents, specify .*\.doc$ in the File name box.
  3. Click OK to save the settings.