[PS] C:\ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1
[PS] C:\Windows\system32> Restart-Service MSExchangeTransport
[PS] C:\Windows\system32> set-TransportConfig -InternalSMTPServers @{Add="192.168.1.1"}
[PS] C:\Windows\system32> Set-ContentFilterConfig -QuarantineMailbox postmaster@xxxx.az
[PS] C:\Windows\system32>Add-IPBlockListProvider -name bl.spamcop.net -lookupdomain bl.spamcop.net
Name LookupDomain Priority
—- ———— ———
bl.spamcop.net bl.spamcop.net 1
[PS] C:\Windows\system32>Add-IPBlockListProvider -name zen.spamhaus.org -lookupdomain zen.spamhaus.org
Name LookupDomain Priority
—- ———— ———
zen.spamhaus.org zen.spamhaus.org 2
[PS] C:\Windows\system32>Set-SenderIDConfig -SpoofedDomainAction Delete
[PS] C:\Windows\system32>Set-SenderReputationConfig -SenderBlockingEnabled $true -SrlBlockThreshold 6 -SenderBlockingPeriod 36
[PS] C:\Windows\system32>Set-SenderFilterConfig -BlankSenderBlockingEnabled $true
[PS] C:\Windows\system32>Set-ContentFilterConfig -SCLQuarantineThreshold 6
[PS] C:\Windows\system32>Set-ContentFilterConfig -SCLDeleteEnabled $true
[PS] C:\Windows\system32>Set-ContentFilterConfig -SCLQuarantineEnabled $true -QuarantineMailbox postmaster@xxxx.az
[PS] C:\Windows\system32>Set-ContentFilterConfig -SCLRejectEnabled $false
[PS] C:\Windows\system32>Set-ContentFilterConfig -QuarantineMailbox postmaster@xxx.az
[PS] C:\Windows\system32> Restart-Service MSExchangeTransport