Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-08-21
This topic explains how to use the Exchange Queue Viewer or the Exchange Management Shell to suspend a queue that is present on a computer that has the Microsoft Exchange Server 2007 Hub Transport server role or the Edge Transport server role installed.
You can suspend a queue that has a status of Active or Retry. You can also suspend the Unreachable queue and the Submission queue.
If you suspend the Unreachable queue, items will not be resubmitted to the categorizer when configuration updates are received by the transport server until the queue is resumed. If you suspend the Submission queue, messages will not be picked up by the categorizer until the queue is resumed.
By suspending a queue, you prevent messages from leaving the queue, but you do not change the status of messages in the queue. Messages that are in delivery through SMTP-send will finish operations. You can suspend a queue to stop mail flow, and then suspend one or messages in the queue. When you resume the queue, the messages that were suspended will not leave the queue.
Before You Begin
To perform the following procedures, the account you use must be delegated the following:
- Exchange Server Administrator role
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.
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Before you suspend a queue, you must follow these steps:
- Verify that you are connected to an Exchange transport server.
By default, the actions of the Queue Viewer or the Exchange
Management Shell focus on the local server. To connect to a
transport server when you are using the Exchange Management Shell,
specify the server name by using the Server parameter. For
more information, see How to Connect to a
Server by Using the Queue Viewer.
- Verify that you have configured the Queue Viewer options. These
options determine the number of items that are displayed per page
and the frequency at which the Queue Viewer updates the display.
For more information, see How to Set Queue Viewer
Options.
Procedure
To use the Queue Viewer to suspend a queue
-
Open the Exchange Management Console.
-
In the console tree, click Toolbox.
-
In the result pane, click Exchange Queue Viewer.
-
In the action pane, click Open Tool.
-
In the Queue Viewer, click the Queues tab. A list of all queues on the server to which you are connected is displayed. You can create a filter to display only queues that meet specific criteria.
-
Select one or more queues, right-click, and then select Suspend.
To use the Exchange Management Shell to suspend a queue
-
Run the following command:
Copy Code Suspend-queue -filter {property -operator "value"}
The following example uses this syntax to suspend all queues that have a message count that is equal to or greater than 1,000 and that have a status of retry:
Copy Code Suspend-queue -filter {MessageCount -ge 1000 -and Status -eq "retry"}
For detailed syntax and parameter information, see Suspend-Queue.
For More Information
For more information, see the following topics: