Udostępnij za pośrednictwem


Suspend Messages

 

Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

You can suspend one or more messages in the queues on a computer that has the Microsoft Exchange Server 2010 Hub Transport server role or the Edge Transport server role installed.

By suspending a message, you prevent delivery of the message. A message that appears in the queue but is already in delivery won't be suspended. Delivery will continue, and the message status will be PendingSuspend. If the delivery fails, the message will re-enter the queue, and the message will then be suspended. You can't suspend a message in the Submission queue or in the poison message queue.

A message being sent to multiple recipients might be located in multiple queues. To suspend a message in more than one queue in a single operation, you must use a filter.

Looking for other management tasks related to managing transport queues? Check out Managing Transport Queues.

Use the EMC to suspend messages

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Queues" entry in the Transport Permissions topic.

  1. In the console tree, click Toolbox.

  2. In the result pane, click Queue Viewer.

  3. In the action pane, click Open Tool.

  4. In Queue Viewer, click the Messages tab. A list of all messages on the server to which you're connected is displayed. To limit the view to a single queue, click the Queues tab, double-click the queue name, and then click the Server\Queue tab that appears.

  5. Select one or more messages, right-click, and then select Suspend.

Use the Shell to suspend messages

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Queues" entry in the Transport Permissions topic.

This example suspends all messages in the queues that are from any sender in the domain Contoso.com.

Suspend-Message -Filter {FromAddress -eq "*contoso.com"}

This example suspends the message with the message ID 3 in the unreachable queue on server Hub01:

Suspend-Message - Identity Hub01\Unreachable\3

For detailed syntax and parameter information, see Suspend-Message.

 © 2010 Microsoft Corporation. All rights reserved.