Home   Kaiming



00

When users send mail, it will be in mail.que, first. And then, the transport server delivers it.

TransportServer1 computer gets a problem. Its transport service wouldn't start. All messages accumulated in TransportRoles\Data\Queue\mail.que has not been delivered.

You can move the mail.que to the second transport server. The TransportServer2 will deliver the messages.

At TransportServer1, create the scenario -- Transport service wouldn't start.

NET STOP MSExchangeTransport

COPY all files in TransportRoles\Data\Queue from TransportServer1 to a folder (e.g. TempQueue) of TransportServer2.

At TransportServer2

The TempQueue folder:

02

CD c:\TempQueue

C:\Program Files\Microsoft\Exchange Server\Bin>eseutil.exe /r Trn /d. /8

C:\Program Files\Microsoft\Exchange Server\Bin>eseutil.exe /d mail.que

Pause the Transport service of TransportServer2 so that it will not accept new mail but can send out mail.

NET PAUSE MSExchangeTransport

From the queue view utility, confirm that all messages in mail.que of TransportServer2 are delivered.

If the mail.que of TransportServer1 is more than 2 days, the following must be configured. If not, the messages in mail.que of TransportServer1 will not be delivered and NDR will be sent out. By default, the expiration time of message is 2 days.

SET-TransportServer -MessageExpirationTimeout 5.0:0:0

NET STOP MSExchangeTransport

Copy c:\TempQueue\*.* c:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue

Net Start MSExchangeTransport

All messages will be delivered.

Net Stop MSExchangeTransport

DEL c:\Program Files\Microsoft\Exchange Server\TransportRoles\Data\Queue'\*.*

Net Start MSExchangeTransport

A fresh mail.que will be automatically created.


If the Transport Server is heavily used, the mail.que might be fragmented.

Net Stop MSExchangeTransport

run ESEUTIL /r Trn /d. /8

or ESEUTIL /d mail.que for offline defragmentation.

Net Start MSExchangeTransport


If Transport server is out of space, you can change the path for mail.que.

C:\Program Files\Microsoft\Exchange Server\Bin\EdgeTransport.exe.config

Look for key="QueueDatabasePath"