Wed, May 25 2011 23:24
bradley
So what PowerShell do you use in your SBS network?
So what PowerShell do you use in your SBS network?
PowerShell Not your Father’s Command Line Part 19 of 31: Small Business Server, PowerShell, and Me - Matt Hester's WebLog - Site Home - TechNet Blogs:
http://blogs.technet.com/b/matthewms/archive/2011/05/19/powershell-not-your-father-s-command-line-part-19-of-31-small-business-server-powershell-and-me.aspx
If your name is Sean - you do this:
Add-IPBlockListProvider -Name "Zen Spamhaus" -LookupDomain zen.spamhaus.org -AnyMatch $True -Enabled $True -RejectionResponse "{1} has blocked your IP address ({0}) using the list '{2}'. Please see www.spamhaus.org/.../bl{0} for further information."
Add-IPBlockListProvider -Name "Passive Spam Blacklist" -LookupDomain psbl.surriel.com -AnyMatch $True -Enabled $True -RejectionResponse "{1} has blocked your IP address ({0}) using the list '{2}'. Please see psbl.surriel.com/listing{0} for further information."
Enable-AntispamUpdates -SpamSignatureUpdatesEnabled $true -UpdateMode Automatic -IPReputationUpdatesEnabled $true
Set-SenderFilterConfig -Enabled $true
Set-SenderIDConfig -TempErrorAction Reject
set-OrganizationConfig -SCLJunkThreshold 5
set-ContentFilterConfig -SCLRejectThreshold 7 -SCLRejectEnabled:$true
set-ContentFilterConfig -RejectionResponse "Email Rejected due to Content Filter"
Filed under: News