Kaspersky Security 9.x for Microsoft Exchange Servers

Synchronizing the Anti-Spam address allowlists and denylists

April 2, 2024

ID 129464

You can synchronize the allowlists or denylists on different Microsoft Exchange servers or in different profiles by using combinations of commands intended for adding addresses to allowlists/denylists and deleting addresses from Anti-Spam address allowlists/denylists.

Lists are synchronized by replacing a list with another one. Synchronization comprises two stages:

  1. Deleting all records from the list that needs to be synchronized with another one
  2. Adding all records from the second list to the first one, which is blank

    Examples:

    1. Synchronizing the address allowlist on server2.domain.com with the address allowlist on server1.domain.com:

    Get-KSEAntiSpamWhiteList -Server server2.domain.com | Remove-KSEAntiSpamWhiteListItem -Server server2.domain.com

    Get-KSEAntiSpamWhiteList -Server server1.domain.com | Add-KSEAntiSpamWhiteListItem -Server server2.domain.com

    2. Synchronizing the address denylist in profile2 with the address denylist in profile1:

    Get-KSEAntiSpamBlackList -Profile profile2 | Remove-KSEAntiSpamBlackListItem -Profile profile2

    Get-KSEAntiSpamBlackList -Profile profile1 | Add-KSEAntiSpamBlackListItem -Profile profile2

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.