Here are some great notes on setting the content filter parameters in Exchange 2007:
Open the Exchange Management Shell:
# To check the Content Filter configuration, type in:
Get-ContentFilterConfig
# To set the Bypassed Senders (example):
Set-ContentFilterConfig -BypassedSenders donotspamme@calazan.com, jdoe@abc.com
# To set the Bypassed Sender Domains (example):
Set-ContentFilterConfig -BypassedSenderDomains calazan.com, *.xyz.com
Important Note: BypassedSenders and BypassedSenderDomains are multivalued properties. When you use the Set-ContentFilterConfig
cmdlet, it will overwrite the values of those properties. If you just
need to add more senders or domains, please follow the example below.
# To add Bypassed Senders:
$x = Get-ContentFilterConfig
$x.BypassedSenders += “jsmith@google.com”, “bhope@yahoo.com”
# To remove Bypassed Senders (can only be done one at a time):
$x = Get-ContentFilterConfig
$x.BypassedSenders -= “jsmith@google.com”
# To empty the list:
Set-ContentFilterConfig -BypassedSenders $null