How to Specify a Spam Quarantine Mailbox

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.


Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

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.

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.
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.

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:

  • Run the following command:

    Set-ContentFilterConfig -QuarantineMailbox <SmtpAddress>

    For example, to send all messages that exceed the spam quarantine to, run the following command:

    Set-ContentFilterConfig -QuarantineMailbox

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