Knowledgebase

Whitelist a Domain in exchange 2010 Power Shell  Print this Article

Adding Domain/Sender to White list in Exchange 2010

Real simple one, but it’s something which can’t be done from the GUI from what I can see…

To view what currently is in the White List for senders, fire open the Exchange Management Powershell err shell.

And enter the following for induvidual e-mail address:

(Get-ContentFilterConfig).ByPassedSenders

And the following for white listed domains:

(Get-ContentFilterConfig).ByPassedSenderDomains

Now to add something to either of these!

To whitelist a domain e.g. justfen.com you’d do the this:

$WhiteDomain = (Get-ContentFilterConfig).BypassedSenderDomains

$WhiteDomain.add(“justfen.com”)

Set-ContentFilterConfig -BypassedSenderDomains $WhiteDomain

And to Whitelist a sender e.g. me@justfen.com you’d do this:

$WhiteSender = (Get-ContentFilterConfig).BypassedSenders

$WhiteSender.add(“me@justfen.com”)

Set-ContentFilterConfig -BypassedSenders $WhiteSender

Once you’ve done that, go ahead and confirm your changes by viewing the Bypassed Sender lists using the commands at the start of this post.

Was this answer helpful?

Related Articles

Step By Step Instructions for Configuring Your iPhone, Ipad, Or touch For Microsoft Exchange
Configuring Your iPhone, iPad, & iPod for Microsoft Exchange  E-Mail 1. Tap the...
Step By Step Intructions for configuring your windows 8 phone for microsoft exchange
To set up a Windows 8 Phone for Microsoft Exchange You can set up email accounts on a Microsoft...
Puge deleted mailboxes from disconnected mailboxes
Exchange 2010 - Delete / Remove all Disconnected Mailboxes KB ID 0000470 Dtd 24/06/11 Problem...
adding/ trouble shooting sender filter
Enabling or disabling Sender filtering You can use the Exchange Management Shell (EMS) to easily...
Default Database
This is useful in many different scenarios such as: Simplifies the help desk role of creating...