Users who have been assigned the Administrator role can add addresses to the Anti-Spam address allowlist in Windows PowerShell.
You can:
To add a record to the Anti-Spam address allowlist:
Add-KSEAntiSpamWhiteList -Server <server name> -Type <type> -Value <address> -Role <role> -Scope <scope> -Comment <comment text>
where:
-Server <server name>
with -Profile <profile name>
.The record with the specified settings will be added to the list.
To copy records from the address allowlist on Server 2 to the address allowlist on Server 1:
Get-KSEAntiSpamWhiteList -Server <Server 2 name> | Add-KSEAntiSpamWhiteListItem -Server <Server 1 name>
where:
If you use any profiles to manage servers, you can replace -Server <server name>
with -Profile <profile name>
.
Records from the address allowlist on Server 2 will be added to the address allowlist on Server 1. A new record ID will be created for each record being added. If the address in the record being copied from Server 2 has already been used in any record on Server 1, that record will not be copied.
You can use filtering commands to select records that you need to add in the list (see examples).
Examples: 1. Adding a record containing a sender address defined as IP address 192.168.1.1 to the address allowlist on server.domain.com:
2. Adding a record containing a recipient address defined as username to the address allowlist on server.domain.com:
3. Copying records from the address allowlist on server1.domain.com to the address allowlist on server2.domain.com:
4. Copying records containing sender addresses from the address allowlist in profile1 to the address allowlist in profile2:
|