You can configure general Anti-Spam scan settings. These settings apply to all message processing rules according to which the application performs scanning of messages for spam.
To configure general Anti-Spam scan settings:
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
--get-settings ScanLogic -n -f <name of the settings file>
ScanLogic task to edit the task settings.<asSettings> section, specify the values of the relevant Anti-Spam scan settings:<enableReputationFiltering> subsection, specify the value 1 to enable reputation filtering or 0 to disable reputation filtering. If the value in the <useKsnStatus> subsection is set to 0, reputation filtering is disabled.Reputation filtering is enabled by default.
<scanTimeLimit> subsection, specify the maximum duration of Anti-Spam scanning of a message in seconds. If the message has not been scanned during this time, the application issues an Error verdict — the message scan has returned an error.The default maximum duration of Anti-Spam scanning of a message is 30 seconds.
<useKsnStatus> subsection, specify the value 1 if you want the application to use information from Kaspersky Security Network when issuing a verdict on the message, or 0 if you do not want the application to use information from Kaspersky Security Network. The use of information from Kaspersky Security Network is enabled by default.
<useEnforcedAntiSpamUpdatesService> subsection, specify the value 1 to enable the Enforced Anti-Spam Updates service or 0 to disable the service. The Enforced Anti-Spam Updates service is enabled by default.
<externalServices> subsection, specify the relevant values for the following nodes:<dnsTimeout> – the maximum time during which the application waits for a response from DNS servers (in seconds). The default value is 10 seconds.<dnsblList> – the list of DNSBL servers from which the application will request information about the message being scanned. Each DNSBL server must be specified in the following format: <item>Server name or IP address</item>.<surblList> – the list of SURBL servers from which the application will request information about the message being scanned. Each SURBL server must be specified in the following format: <item>Server name or IP address</item>.# /opt/kaspersky/klms/bin/klms-control \
--set-settings <ScanLogic task ID> -f <settings file name> or
--set-settings ScanLogic -n -f <settings file name>