Enabling and disabling the Anti-Spam engine

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>

Page top