Users who have been assigned the Administrator role can add addresses to the white list of Anti-Spam addresses in Windows PowerShell.
You can:
To add a record to the white list of Anti-Spam addresses:
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 white list on Server 2 to the white list 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 white list on Server 2 will be added to the white list 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 that contains a sender address specified as IP address 192.168.1.1, to the white list on server.domain.com:
2. Adding a record that contains a sender address specified as user account username, to the white list on server.domain.com:
3. Copying records from the white list on server1.domain.com to the white list on server2.domain.com:
4. Copying records that contain sender addresses from the white list in profile1 to the white list in profile2:
|