Enabling and disabling Anti-Phishing scanning of messages for a rule

4 July 2024

ID 73183

You can enable or disable Anti-Phishing scanning of messages for any message processing rule.

To enable or disable Anti-Phishing scanning of messages for a rule:

  1. Export rule settings to an XML file using the command:

    # /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.

  2. Open the XML file to edit the rule settings.
  3. In the <engineSettings> subsection of the <apScanSettings> section, specify one of the following values of the <enableScan> setting:
    • 1, to enable Anti-Phishing scanning of messages for this rule;
    • 0, to disable Anti-Phishing scanning of messages for this rule.
  4. Save the changes made.
  5. To import rule settings from an XML file, use the command:

    # /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.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.