Users who have been assigned the Administrator role can add addresses to the black list of Anti-Spam addresses in Windows PowerShell.
You can:
To add a record to the black list of Anti-Spam addresses:
Add-KSEAntiSpamBlackList -Server <server name> -Type <type> -Value <address> -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 black list on Server 2 to the black list on Server 1:
Get-KSEAntiSpamBlackList -Server <Server 2 name> | Add-KSEAntiSpamBlackListItem -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 black list on Server 2 will be added to the black 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 email address user@mail.com, to the black list on server.domain.com:
2. Copying records from the black list of profile profilename to the black list on server.domain.com:
3. Copying records with IP addresses from the black list on server1.domain.com to the black list on server2.domain.com:
|