You can configure general Anti-Virus scan settings. These settings apply to all message processing rules according to which the application performs Anti-Virus scanning of messages.
To configure general Anti-Virus 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.<avSettings>
section, specify the values of the relevant Anti-Virus scan settings:<scanTimeLimit>
subsection, specify the maximum duration of Anti-Virus scanning of a message in seconds. If the message has not been scanned during the specified time, the application labels it as Corrupted – Object is damaged or an error occurred while scanning the object.The default maximum duration of Anti-Virus scanning of a message is 180
seconds.
<maxNestingLevel>
subsection, specify the maximum nesting level of objects during Anti-Virus scanning. Nested objects include message attachments and archives packed inside other archives. For example, if the maximum object nesting level is set to 1, the application scans the message and its attachments of the first nesting level during an Anti-Virus scan. If these objects are found to contain threats, the application scans all attachments and objects of the first nesting level contained in them.The default maximum nesting level for objects is 32
.
<useAnalyzer>
subsection, specify the value 1
to enable the use of Heuristic Analyzer during Anti-Virus scanning, or 0
to disable Heuristic Analyzer.The use of Heuristic Analyzer is enabled by default.
<heuristicLevel>
subsection, specify the level of heuristic analysis to be used during Anti-Virus scanning of messages. The following levels are available: Light
, Medium
, and Deep
.The default heuristic analysis level is set to Medium
.
# /opt/kaspersky/klms/bin/klms-control \
--set-settings <ScanLogic task ID> -f <settings file name>
or
--set-settings ScanLogic -n -f <settings file name>