You can enable or disable content filtering of messages for any message processing rule.
To enable or disable content filtering of messages for a rule:
# /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 one of the following values of the <enableScan>
setting:1
, to enable content filtering of messages for this rule;0
, to disable content filtering of messages for this rule.# /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.