How to Specify Recipient and Sender Exceptions for Content Filtering in Exchange Server
How to Specify Recipient and Sender Exceptions for Content Filtering
Topic Last Modified: 2009-04-01
This topic explains how to use the Exchange Management Console or the Exchange Management Shell to specify exceptions to content filtering. You can use the Exchange Management Console or the Exchange Management Shell to configure the Content Filter agent to bypass filtering of messages that are sent to specific recipients. You can use the Exchange Management Shell to configure the Content Filter agent to bypass messages from specific senders and sender domains. If your organization frequently exchanges messages with specific external entities, you will find exceptions to content filtering for specific senders and sender domain messages helpful.
Note: |
---|
Use caution when you specify large domain namespaces or senders and domains that are frequently spoofed by spammers. |
To
perform the following procedures on a computer that has the Edge
Transport server role installed, you must log on by using an account
that is a member of the local Administrators group on that computer.
Also, before you perform these procedures, confirm the following:
Also, before you perform these procedures, confirm the following:
-
You have reviewed Anti-Spam and Antivirus Functionality
to understand the general strategy for configuring all anti-spam agents
so that they work together efficiently for your organization.
-
You have read Configuring Content Filtering.
- In the Exchange Management Console, click Edge Transport.
- In the work pane, click the Anti-spam tab, and then select Content Filtering.
- In the action pane, click Properties.
- Click the Exceptions tab.
- In the Do not filter content in messages addressed to the following recipients text box, type the Simple Mail Transfer Protocol (SMTP) address.
- Click Add to add the address to the exceptions list.
- Click OK to save your changes and close the dialog box, or click Apply to save your changes without closing the dialog box.
- Run the following command:
Set-ContentFilterConfig -BypassedRecipients <SmtpAddress>
Set-ContentFilterConfig -BypassedRecipients tiffany@contoso.com
Note: To enter multiple SMTP addresses, separate the addresses by using a comma as follows, for example: joe@contoso.com, jeffrey@contoso.com. The maximum number of recipients you can input is 800.
- To bypass content filtering of messages that are sent by specific senders, run the following command:
Set-ContentFilterConfig -BypassedSenders <SmtpAddress>
Set-ContentFilterConfig -BypassedSenders sender1@example.com
- To bypass content filtering of messages from specific domains, run the following command:
Set-ContentFilterConfig -BypassedSenderDomains <SmtpDomainWithSubdomains>
Set-ContentFilterConfig -BypassedSenderDomains example.com
Set-ContentFilterConfig -BypassedSenderDomains *.example.com
Note: To enter multiple SMTP addresses or domains, separate the addresses or domains by using a comma as follows, for example: sender1@example.com, sender2@example.com. The maximum number of recipients you can input is 800.
When
you add new senders or recipients to an existing content filter
configuration by using the procedures in this topic, existing senders or
recipients in the content filter configuration are replaced with the
new data.
To append senders or recipients to an existing configuration, you can create a variable in which to store the existing data. After you create the variable, you can then add data to the configuration. In the following example, the variable is $list.
This example shows how to add a sender to the BypassedSender property of the content filter configuration. You can replace the BypassedSender parameter in this example with the BypassedSenderDomain parameter or BypassedRecipients parameter to add data to other existing properties on the content filter configuration.
To append senders or recipients to an existing configuration, you can create a variable in which to store the existing data. After you create the variable, you can then add data to the configuration. In the following example, the variable is $list.
This example shows how to add a sender to the BypassedSender property of the content filter configuration. You can replace the BypassedSender parameter in this example with the BypassedSenderDomain parameter or BypassedRecipients parameter to add data to other existing properties on the content filter configuration.
- To create a variable to hold the BypassedSenders list, run the following command:
$list = (Get-ContentFilterConfig).BypassedSenders
- To verify that the $list variable contains data, run the following command:
$list
- To add entries to the $list variable, run the following command:
$list.add("kwekua@contoso.com,tiffany@contoso.com")
Comentarios
Publicar un comentario
Dime si la información de este blog te sirvio.