Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2010-02-12

This topic explains how to use the Exchange Management Shell to specify a spam quarantine mailbox for content filtering. If the spam confidence level (SCL) quarantine threshold is enabled, all messages that are equal to or greater than the SCL quarantine threshold are wrapped as non-delivery reports (NDR), and are sent to the Simple Mail Transfer Protocol (SMTP) address that you specify as the spam quarantine mailbox. You can then review the quarantined messages. If it is appropriate, you can release the messages to their intended recipients by using the Send Again feature in Microsoft Office Outlook. For more information, see How to Recover Quarantined Messages from the Spam Quarantine Mailbox.

Important:
By the nature of the feature, the IT administrator responsible for the spam quarantine mailbox can view potentially private and sensitive messages, and send mail on behalf of anybody in the Exchange organization.
Important:
You must specify the spam quarantine mailbox on all servers that have the Edge Transport server role installed. The spam quarantine mailbox must also be specified in the Active Directory directory service on which the user mailboxes are located. To specify the spam quarantine mailbox in Active Directory, use the Set-ContentFilterConfig cmdlet on a Hub Transport server. You do not have to enable Content Filtering on the Hub Transport server to specify a spam quarantine mailbox in Active Directory.

Before You Begin

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:

Procedure

To use the Exchange Management Shell to specify a spam quarantine mailbox

  • Run the following command:

    Copy Code
    Set-ContentFilterConfig -QuarantineMailbox <SmtpAddress>
    

    For example, to send all messages that exceed the spam quarantine to spamQ@contoso.com, run the following command:

    Copy Code
    Set-ContentFilterConfig -QuarantineMailbox spamQ@contoso.com
    

For detailed syntax and parameter information, see Set-ContentFilterConfig.

For More Information