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

Latest update: August 06, 2019 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.

 
 
 
 
 
Did you find what you were searching for?
Thank you for your feedback!