Solutions Through IT

April 11, 2012

I’ll take my email unfiltered, not cleaned.

Filed under: Anti-Spam, Exchange, Powershell, SBS 2008 — solutionsthroughit @ 09:39

I had an unusual request from a client – emails being sent to them were being filtered out by the anti-spam service.   Into the GUI I wander, looking for the recipient whitelist.  Alas, this wasn’t easily locatable, so I’ll whip out the trusty powershell – you can do ANYTHING with that ;)  (Start | All Programs | Microsoft Exchange Server 2007 | Exchange Management Console)

Set-ContentFilterConfig -BypassedRecipients sales@yourdomain.com,info@yourdomain.com

NOTE: THIS COMMAND WILL OVERWRITE ANY PREVIOUSLY SET FILTERED ADDRESSES

This will allow you to add one or more (comma separated) recipients to a white list, ensuring that these recipients get EVERY email sent to them, including all the junk and filth. To review, you can type

Get-ContentFilterConfig

To remove a single entry from this list should be achieved with the following statement

$foo=Get-ContentFilterConfig

$foo.BypassedRecipients -=”removeme@somedomain.com

$foo | Set-ContentFilterConfig

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: