Anti-spam a anti-malware nastavení na Exchange 2013
Aktivace Anti-malware:
& $env:ExchangeInstallPath\Scripts\Enable-Antimalwarescanning.ps1
Restart-Service MSExchangeTransport
Aktivace Anti-Spam:
& $env:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1
Restart-Service MSExchangeTransport
Set-TransportConfig -InternalSMTPServers @{Add="192.168.0.10"}
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 administrator@somedomain.com
Set-ContentFilterConfig -SCLRejectEnabled $false
(This script installs the anti-spam agents, adds in some basic DNSBL's, turns off email rejection and quarantines all mail instead, deletes email from domains that are spoofed, blocks mail with blank sender info.)