Kaspersky Security 8 for Linux Mail Server can exclude attachments of certain formats from Anti-Virus scanning of messages.
To exclude attachments of certain formats from Anti-Virus scanning of messages:
# /opt/kaspersky/klms/bin/klms-control \
--get-rule-settings <rule ID> -f <rule settings file name> or
--get-rule-settings <rule name> -n -f <rule settings file name>
The <rule name> should be enclosed in double quotes if it contains blanks.
<engineSettings> subsection of the <avScanSettings> section, specify 1 as the value of each relevant setting corresponding to the file format inside the <excludedFormats> subsection:executableCategory> subsection specify the value 1 for the settings corresponding to the executable file formats that you want to exclude from scanning.officeCategory> subsection specify the value 1 for the settings corresponding to the document file formats that you want to exclude from scanning.multimediaSubcategory> subsection specify the value 1 for the settings corresponding to the file formats that you want to exclude from scanning.imageCategory> subsection specify the value 1 for the settings corresponding to the file formats that you want to exclude from scanning.archiveCategory> subsection specify the value 1 for the settings corresponding to the file formats that you want to exclude from scanning.databaseCategory> subsection specify the value 1 for the settings corresponding to the file formats that you want to exclude from scanning.# /opt/kaspersky/klms/bin/klms-control \
--set-rule-settings <rule ID> -f <rule settings file name> or
--set-rule-settings <rule name> -n -f <rule settings file name>
The <rule name> should be enclosed in double quotes if it contains blanks.