To add a sender / recipient from an external directory service to a message processing rule:
# /opt/kaspersky/klms/bin/klms-control \
--get-rule-settings <rule ID> -f <name of the rule settings file>
item> section in the <sender> subsection (to add a sender) or <recipient> subsection (to add a recipient) of the <belongingCriteria> section.If you need to add several sender and recipient email addresses, each new email address must be in a separate <item> section, typed in a new string of the settings file.
Both the message sender and recipient must be specified in the rule.
<type> subsection, set the ExternalAccount value.<value> subsection, set the CN value from LDAP settings.Example:
|
# /opt/kaspersky/klms/bin/klms-control \
--set-rule-settings <rule ID> -f <name of the rule settings file>