Delen via


How to Retry Queues

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

This topic explains how to use the Exchange Queue Viewer or the Exchange Management Shell to retry a mailbox delivery queue or a remote delivery 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.

When a transport server cannot connect to the next hop, the delivery queue is put in a status of Retry. When you retry a delivery queue by using the Queue Viewer or the Exchange Management Shell, you force an immediate connection attempt and override the next scheduled retry time. If the connection is not successful, the retry interval timer is reset. The delivery queue must be in a status of Retry for this action to have any effect.

Before You Begin

To perform the following procedures, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

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 can retry 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. For more information, see How to Connect to a Server by Using the Queue Viewer.

  • To connect to a specific transport server when you are using the Exchange Management Shell, include the Server parameter with a filter statement, or include the server name when you specify the queue identity.

  • 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 retry a queue

  1. Open the Exchange Management Console.

  2. In the console tree, click Toolbox.

  3. In the result pane, click Exchange Queue Viewer.

  4. In the action pane, click Open Tool.

  5. In the Queue Viewer, click the Queues tab. A list of all queues on the server to which you are connected is displayed.

  6. Click Create Filter, and enter your filter expression as follows:

    1. Select Status from the queue property drop-down list.

    2. Select Equals from the comparison operator drop-down list.

    3. Select Retry from the value drop-down list.

  7. Click Apply Filter. All queues that currently have a retry status are displayed.

  8. Select one or more queues from the list. Right-click, and then select Retry Queue. If the connection attempt is successful, the queue status changes to Active. If no connection can be made, the queue remains in a status of Retry and the next retry time is updated.

To use the Exchange Management Shell to retry a queue

  • Run one of the following commands:

    Retry-queue -filter {status -eq "retry"}
    Retry-queue -identity Server\Queue
    

For detailed syntax and parameter information, see Retry-Queue.

For More Information

For more information, see the following topics: