Enabling and disabling the Anti-Spam engine

January 24, 2025

ID 62601

You can enable or disable the Anti-Spam engine. By default, the Anti-Spam module is enabled.

To enable or disable the Anti-Spam engine:

  1. Export the ScanLogic task settings to an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --get-settings <ScanLogic task ID> -f <name of the settings file> or

    # /opt/kaspersky/klms/bin/klms-control \

    --get-settings ScanLogic -n -f <name of the settings file>

  2. Open the XML file to edit the task settings.
  3. In the <asSettings> section, specify one of the following values for the <enableAsScan> setting:
    • 1, to enable the Anti-Spam engine;
    • 0, to disable the Anti-Spam engine.

    By default, the value is set to 1.

  4. Save the changes made.
  5. Import the ScanLogic task settings from an XML file using the command:

    # /opt/kaspersky/klms/bin/klms-control \

    --set-settings <ScanLogic task ID> -f <settings file name> or

    # /opt/kaspersky/klms/bin/klms-control \

    --set-settings ScanLogic -n -f <settings file name>

');
Kaspersky Endpoint Security for Business Advanced: Adaptive security of your company
Web and device controls. Data encryption. Centralized and convenient management from a single console.
');
Kaspersky Premium Support (MSA): High‑priority incident processing
Telephone and web ticket support. Fast response, monitoring and health check. Submit a request and activate the contract (MSA).