Portal Home > Knowledgebase > Email > White-listing Spam Experts Exchange 2007 to 2016

White-listing Spam Experts Exchange 2007 to 2016

Local and Hosted Cloud

Microsoft has now removed support a now have a workaround for whitelisting that is based on reverse DNS. Please, use the following Powershell script:

Add-PSSnapin Microsoft.Exchange*
#Start
$ErrorActionPreference = "Stop"
$ips = [System.Net.Dns]::GetHostAddresses("delivery.antispamcloud.com") | select IPAddressToString
$ips = $ips | foreach-object {$_.IPAddressToString}
Set-ReceiveConnector -Identity "Default SERVERNAME" -RemoteIPRanges $ips
#End

Replace SERVERNAME with your hostname

This script retrieves all IP addresses listed in ”delivery.antispamcloud.com” and adds them to the whitelist.

To set a task scheduler to automatically update IP addresses:

powershell -command "& 'C:\psscripts\exchangereceiveconnector.ps1' "


Also Read