Archive for September, 2012

Exchange email Whitelist via console – BypassedSenders

Monday, September 3rd, 2012

Exchange does support whitelisting of email address’/domains, but not form the GUI. It must be done via the Exchange powershell CLI.
The only issue is that the commands to set the whitelist is to write the whole whitelist – so if you set just one email it will not keep the config of the previous emails you have setup already.
This script addresses that by reading in the existing and then writing that list back with the extra address you need to ad -

$whitelist = (Get-ContentFilterConfig).BypassedSenders
Set-ContentFilterConfig -BypassedSenders $whitelist

To see the current config (which includes the whitelist) simply use ‘Get-ContentFilterConfig’ by itself