2014-07-03

Exchange Server 2013 Antispam反垃圾郵件設定

討厭的是Exchange Server 2013反垃圾郵件功能竟然沒有圖形化介面去設定
歡喜的是Exchange Server 2013的惡意程式過濾竟然免費提供,雖然不知道效果會不會是"笑果"
官方說明網頁:http://technet.microsoft.com/zh-tw/library/jj150481%28v=exchg.150%29.aspx

列出下列指令,一次下完即可以啟動內建的反垃圾郵件功能
但別忘了修改Set-TransportConfig的SMTP IP,以及確認SCL值的拿捏

啟動反垃圾郵件功能
& $env:ExchangeInstallPath\Scripts\Install-AntiSpamAgents.ps1
Restart-Service MSExchangeTransport
Set-TransportConfig -InternalSMTPServers @{Add="10.0.1.10","10.0.1.11"}

寄件者篩選
Set-SenderFilterConfig -Enabled $true
Set-SenderFilterConfig -BlankSenderBlockingEnabled $true

寄件者識別碼篩選
Set-SenderIDConfig -Enabled $true
Set-SenderIDConfig -SpoofedDomainAction Reject
Set-SenderIDConfig -TempErrorAction StampStatus

內容篩選
Set-ContentFilterConfig -Enabled $true
Set-ContentFilterConfig -ExternalMailEnabled $true
Set-ContentFilterConfig -InternalMailEnabled $false
Set-ContentFilterConfig -SCLDeleteEnabled $true -SCLDeleteThreshold 9 -SCLRejectEnabled $true -SCLRejectThreshold 8 -SCLQuarantineEnabled $true -SCLQuarantineThreshold 7
Set-ContentFilterConfig -RejectionResponse "Your message was rejected because it appears to be SPAM."
Set-ContentFilterConfig -OutlookEmailPostmarkValidationEnabled $true
Set-OrganizationConfig -SCLJunkThreshold 5

寄件者信譽
Set-SenderReputationConfig -Enabled $true
Set-SenderReputationConfig -ExternalMailEnabled $true
Set-SenderReputationConfig -InternalMailEnabled $false
Set-SenderReputationConfig -SrlBlockThreshold 6 -SenderBlockingPeriod 36

反垃圾聯盟
Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $True -Enabled $True -RejectionResponse “Your IP is blacklisted! http://www.spamhaus.org“

沒有留言:

張貼留言

Windows 11 ARM版本

Windows 11 ARM版本,微軟公開下載: https://www.microsoft.com/zh-tw/software-download/windows11arm64 對比原本的Windows 11普通版本: https://www.microsoft.com/zh...