May 28th, 2014

Простейший антиспам для Exchange 2013

Добавляем агента:
C:\ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1
Restart-Service MSExchangeTransport

Настраиваем конфиг:
set-TransportConfig -InternalSMTPServers @{Add="192.168.nnn.nnn"}
Set-ContentFilterConfig -QuarantineMailbox postmaster@domain.pseudodomain
Add-IPBlockListProvider -name bl.spamcop.net -lookupdomain bl.spamcop.net
Add-IPBlockListProvider -name zen.spamhaus.org -lookupdomain zen.spamhaus.org
Set-SenderIDConfig -SpoofedDomainAction Delete
Set-SenderReputationConfig -SenderBlockingEnabled $true -SrlBlockThreshold 6 -SenderBlockingPeriod 36
Set-SenderFilterConfig -BlankSenderBlockingEnabled $true
Set-ContentFilterConfig -SCLQuarantineThreshold 6
Set-ContentFilterConfig -SCLDeleteEnabled $true
Set-ContentFilterConfig -SCLQuarantineEnabled $true -QuarantineMailbox postmaster@domain.pseudodomain
Set-ContentFilterConfig -SCLRejectEnabled $false
Restart-Service MSExchangeTransport

__