To configure content filtering by message size, do the following:
# /opt/kaspersky/klms/bin/klms-control \
--get-rule-settings <rule ID> -f <rule settings file name> or
--get-rule-settings <rule name> -n -f <rule settings file name>
The <rule name> should be enclosed in double quotes if it contains blanks.
<engineSettings> subsection of the <cfScanSettings> section, specify the value 1 for the <enableScan> setting.0 - no size restriction). To do so, in the <engineSettings> subsection of the <cfScanSettings> section, for the <maxAllowedSize> setting specify a value under 1073741824 bytes (equal to 1 GB).<cfScanSettings> section, specify the value Skip, DeleteMessage or Reject for the <sizeExceededAction> setting:The default action is Reject.
<cfScanSettings> section, specify the value 1 for the <backupSizeExceeded> setting.# /opt/kaspersky/klms/bin/klms-control \
--set-rule-settings <rule ID> -f <rule settings file name> or
--set-rule-settings <rule name> -n -f <rule settings file name>
The <rule name> should be enclosed in double quotes if it contains blanks.