How to enable and disable scanning of messages for spam 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 scanning of messages for spam for a rule in Kaspersky Security 8.0 for Linux Mail Server

Back to "Settings / How to"
Latest update: August 13, 2019 ID: 9040
 
 
 
 
This article concerns Kaspersky Security 8.0 for Linux Mail Server Maintenance Pack 3 (version 8.0.3.30).
 
 
 
 

You can enable or disable scanning messages for spam for any message processing rule. You can do it in the following ways:

  • Via the application web interface: For instructions, see Online Help.
  • Via the command line. See below for instructions.

How to enable and disable anti-virus scanning via 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 — scan messages for spam according to this rule
    • 0 — do not scan messages for spam according to this 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>

Scanning messages for spam will be enabled or disabled for a rule according to your preferences.

 
 
 
 
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