Tech for Techs

Servers => Microsoft Exchange => Topic started by: James on November 21, 2013, 03:39:54 PM

Title: Manage Microsoft Exchange Content Filtering
Post by: James on November 21, 2013, 03:39:54 PM
The Content Filter filters all messages that come through all Receive connector on the exchange server. Only non-authenticated sources are filtered. Exceptions configured within the content filter will take precedence over any other user or group safe list, blocked senders, or other policies.


ENABLE / DISABLE CONTENT FILTERING

Set-ContentFilterConfig -Enable <$true | $false>

-example-

Set-ContentFilterConfig -Enable $true





ENABLE /DISABLE CONTENT FILTERING FOR EXTERNAL MESSAGES

Set-ContentFilterConfig -ExternalMailEnable <$true | $false>

-example-

Set-ContentFilterConfig -ExternalMailEnable $true





ENABLE / DISABLE CONTENT FILTERING FOR INTERNAL MESSAGES

Set-ContentFilterConfig -InternalMailEnable <$true | $false>

-example-

Set-ContentFilterConfig -InternalMailEnable $true





CONFIGURE RECIPIENT AND SENDER EXCEPTIONS

Recipient Exceptions

Set-ContentFilterConfig -BypassedRecipients example@contoso.com,example2@contoso.com

-or, to add without overwriting previous filter configurations-

Set-ContentFilterConfig -BypassedRecipients @{Add="example@contoso.com","example2@contoso.com"}




Sender Exceptions - Specific Senders

Set-ContentFilterConfig -BypassedSenders example@contoso.com,example2@contoso.com

-or, to add without overwriting previous filter configurations-

Set-ContentFilterConfig -BypassedSenders @{Add="example@contoso.com","example2@contoso.com"}




Sender Exceptions - Domains

Set-ContentFilterConfig -BypassedSenderDomains contoso.com,contoso2.com

-or, to add without overwriting previous filter configurations-

Set-ContentFilterConfig -BypassedSenderDomains @{Add="contoso.com","contoso2.com"}





CONFIGURE ALLOWED AND BLOCKED PHRASES

Allowed Phrase

Add-ContentFilterPhrase -Influence GoodWord -Phrase "<phrase>"

-example-

Add-ContentFilterPhrase -Influence GoodWord -Phrase "Quarantine Digest"




Blocked Phrase

Add-ContentFilterPhrase -Influence BadWord -Phrase "<phrase>"

-example-

Add-ContentFilterPhrase -Influence BadWord -Phrase "Send Money Now"




Remove Blocked Phrases

Remove-ContentFilterPhrase -Phrase "<phrase>"

-example-

Remove-ContentFilterPhrase -Phrase "Quarantine Digest"





CONFIGURE SCL THRESHOLDS

Enable / Disable SCL Delete and Set Delete Threshold

Set-ContentFilterConfig -SCLDeleteEnabled <$true | $false> -SCLDeleteThreshold <# value>

-example-

Set-ContentFilterConfig -SCLDeleteEnabled $true -SCLDeleteThreshold 9




Enable / Disable SCL Reject and Set Reject Threshold

Set-ContentFilterConfig -SCLRejectEnabled <$true | $false> -SCLRejectThreshold <# value>

-example-

Set-ContentFilterConfig -SCLRejectEnabled $true -SCLRejectThreshold 8




Enable / Disable SCL Quarantine and Set Quarantine Threshold

Set-ContentFilterConfig -SCLQuarantineEnabled <$true | $false> -SCLQuarantineThreshold <# value>

-example-

Set-ContentFilterConfig -SCLQuarantineEnabled $true -SCLQuarantineThreshold 5





CONFIGURE REJECTION RESPONSE

The rejection response can not exceed 240 characters.

Set-ContentFilterConfig -RejectResponse "<Custom Text>"

-example-

Set-ContentFilterConfig -RejectResponse "Your message was rejected."





ENABLE / DISABLE OUTLOOK EMAIL POSTMARKING

Set-ContentFilterConfig -OutlookEmailPostmarkValidationEnabled <$true | $false>





Ref: http://technet.microsoft.com/en-us/library/aa995953.aspx