How to enable and disable anti-virus scanning of messages for a rule in Kaspersky Security 8.0 for Linux Mail Server

 

Kaspersky Security 8.0 for Linux Mail Server

 
 
 

How to enable and disable anti-virus scanning of messages for a rule in Kaspersky Security 8.0 for Linux Mail Server

Back to "Settings / How to"
Latest update: 2019 Aug 06 ID: 9037
 
 
 
 

You can enable and disable anti-virus scanning of messages for any rule in one of the following ways:

  • Via the web interface. See the Online Help page for instructions.
  • Via the command line. See the instructions below.

How to enable and disable anti-virus scanning from the command line

  1. Export the rule’s settings to a file using the following command:
# /opt/kaspersky/klms/bin/klms-control --get-rule-settings <rule_ID> -f <file_name>
  1. Open the saved file in an editor.
  2. Go to the <avScanSettings> section and <engineSettings> subsection.
  3. Specify a value for the <enableScan> parameter:
    • 1 — enable anti-virus scanning of messages for the rule.
    • 0 — disable anti-virus scanning of messages for the rule.
  4. Save the file and import it to the rule using the following command:
# /opt/kaspersky/klms/bin/klms-control --set-rule-settings <rule_ID> -f <file_name>

Anti-virus scanning of messages will be enabled or disabled for the rule.

 
 
 
 
Was this information helpful?
Yes No
Thank you
 

 
 

How can we improve this article?

Your feedback will be used for content improvement purposes only. If you need assistance, please contact technical support.

Submit Submit

Thank you for your feedback!

Your suggestions will help improve this article.

OK