Thursday, April 7, 2011

Exchange Server 2010–Add or Remove to Whitelist Using PowerShell

To Add

1. Open EMC Shell, enter: Set-ContentFilterConfig -BypassedSenderDomains domain_to_be_added.com

To Remove:

This example makes the following modifications to the Content Filter agent configuration:

  • It enables and configures the SCL threshold functionalities that quarantine, reject, and delete messages to 5, 6, and 8 respectively.
  • It specifies SpamQuarantineMailbox@contoso.com as the spam quarantine mailbox.
  • It defines two users for whom the Content Filter won't process messages.
Set-ContentFilterConfig -SCLQuarantineEnabled $true -SCLRejectEnabled $true -SCLDeleteEnabled $true -SCLQuarantineThreshold 5 -SCLRejectThreshold 6 -SCLDeleteThreshold 8 -QuarantineMailbox SpamQuarantineMailbox@contoso.com -RejectionResponse "Message rejected due to content restrictions" -BypassedRecipients user1@contoso.com,user2@contoso.com

No comments:

Post a Comment