Friday, April 27, 2012

Whitelist in Exchange 2010

Pwershell commands for whitelisting in exchange 2010:
Check what is currently whitelisted -
Get-ContentFilterConfig
Whitelist a single email address -
$list = (Get-ContentFilterConfig).BypassedSenders
$list.add("new.mail@address.com")
Set-ContentFilterConfig -BypassedSenders $list
Whitelist entire domain -
$list = (Get-ContentFilterConfig).BypassedSenderDomains
$list.add("domain.com")
Set-ContentFilterConfig -BypassedSenderDomains $list

No comments:

Post a Comment