Hello guys, in this article, I am going to have a discussion about Mail.que file corrupt or large size of queue database file issue. As you might know, Mail.que is a temporary file which is being created in sending queue of Exchange server. When each mail is being sent, then it goes into the sending queue of Exchange server and then it is being delivered to the recipient mailbox. With passing the time, it has been necessary to maintain mail.que database time to time for fixing the common issues, like performance issue in the case of a large or fragmented file for removing white spaces. Nowadays, if the mail.que temporary database file is not being maintained time to time then it may lead into the email burst situation especially in the case of large file attachments.
There are some following prerequisites, which you should have for fixing the issues as well as maintaining the mail.que file.
In this section, we will see the complete process mail.que database restoration using commands as well EAC or EMC. For every different version of Exchange Server, we have to go with different restoration techniques.
C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue
C:\Program Files\Microsoft\Exchange Server\Bin
Command: eseutil /d [CompleteLocation]/mail.que
Net Pause MSExchangeTransport
Get-QueueNow resubmit the unreachable queues:
Retry-Queue –Identity "Unreachable" -Resubmit $True
Now reinject the mail.que into the transport server:
For this just stop MSExchangeTransport Service, then copy & paste the mail.que file into the earlier location in Transport server database location and start MSExchangeTransport again.
That’s all what you have to do in case of Exchange 2007.
In the case of Exchange server 2013/2016, we are about to change the location of mail.que file at another location.
appSettingtag as displayed below.
net stop MSExchangeTransport && net start MSExchangeTransport
net stop MSExchangeTransport
net start MSExchangeTransport
That’s All what you have to do for getting rid of Mail.que large size / corruption Issue in Exchange 2016/2013/2010/2007.
In this article, we had a discussion about how to overcome from the large mail.que file or mail.que corrupted situation in Exchange Server 2007/2010/2013/2016. There are two different scenarios which are discussed, one for Exchange 2010/2007 Mail.que file and second for Exchange 2013/2016. In the case of Exchange 2007/2010, we have repaired the existing mail.que file at its default location. But in the case of Exchange 2016/2013, we have changed the location or transport database file (mail.que & trn.chk) as well as transaction log files. We can also try repairing the mail.que file in case of Exchange 2013 or Exchange Server 2016 with the help of same used command for Exchange 2007 / 2010.