Enabling and disabling the Anti-Spam engine
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:
- Export the
ScanLogic
task settings to an XML file using the command:# /opt/kaspersky/klms/bin/klms-control \
--get-settings <
ScanLogic taskID> -f <
name of the settings file>
or# /opt/kaspersky/klms/bin/klms-control \
--get-settings ScanLogic -n -f <
name of the settings file>
- Open the XML file to edit the task settings.
- 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
. - Save the changes made.
- Import the
ScanLogic
task settings from an XML file using the command:# /opt/kaspersky/klms/bin/klms-control \
--set-settings <
ScanLogictask ID> -f <
settings file name>
or# /opt/kaspersky/klms/bin/klms-control \
--set-settings ScanLogic -n -f <
settings file name>