Adding personal black and white lists of addresses

August 21, 2023

ID 61051

When application integration with an external directory service via LDAP is enabled, users are able to maintain their personal black and white lists of senders' addresses.

To add a personal black or white list of addresses:

  1. Get a sample rule settings file and save it to an XML file, for example personal_user1.xml, with the following command:

    # /opt/kaspersky/klms/bin/klms-control --personal --sample > personal_user1.xml

    Sample rule settings file.

    Example:

    <root>

    <blackList>

    <item></item>

    </blackList>

    <whiteList>

    <item></item>

    </whiteList>

    </root>

  2. Use the <item> subsection of the <blackList> section to add senders' addresses to the black list of addresses, and the <item> subsection of the <whiteList> section to add senders' addresses to the white list of addresses.

    If you need to add several senders' addresses, each new email address must be specified in a separate <item> section in a new line of the settings file.

    Example:

    <root>

    <blackList>

    <item>

    user1@mycompany.com

    </item>

    <item>

    user2@mycompany.com

    </item>

    </blackList>

    <whiteList>

    <item>

    administrator@mycompany.com

    </item>

    </whiteList>

    </root>

  3. Save this personal black or white list of addresses for the relevant external directory service user account (for example, for the account cn=user1001,ou=users,dc=site user account) using the command:

    # /opt/kaspersky/klms/bin/klms-control --personal \

    --set-settings 'cn=user1001,ou=users,dc=site' -f personal_user1.xml

    You can specify the e-mail address of a user instead of the user’s account.

    # /opt/kaspersky/klms/bin/klms-control --personal \

    --set-settings <email> -f personal_user1.xml

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.