You can use Perl Compatible Regular Expressions (PCRE) in Content Filtering rules in Kaspersky Security 8.0 for Linux Mail Server. For example, to add common executable files to the list of banned attachments, do the following:
/opt/kaspersky/klms/bin/klms-control --get-rule-settings <rule_ID> -f <file_name>
<bannedFileNames> <item>re:.*\.(scr|cpl|com|bat|cmd|vbs|pif|lnk|url|exe|bvs|spl|dll)$</item> <item>re:^[^\t\n]*\.[A-Za-z0-9]+\.(exe|vbs|cpl|dll)[. ]*$</item> </bannedFileNames>
/opt/kaspersky/klms/bin/klms-control --set-rule-settings <rule_ID> -n -f <file_name>
The executable files will be added to the banned list.
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)[. ]*$
Release of antivirus database updates (required to protect your computer/server/mobile device)
Providing technical support over phone / web
Release of patches for the application (addressing detected bugs)
Kaspersky Security 8.0 for Linux Mail Server Maintenance Pack 3 (version 8.0.3.30)
Please let us know what you think about the site design, improvements we could add and any errors we need to eliminate
Thank you for submitting your feedback. We will review your feedback shortly.
Your feedback will be used for content improvement purposes only. If you need assistance, please contact technical support.
Your suggestions will help improve this article.