Hello everyone, so we've just deployed Exchange 2016 in our environment and I am in the process of moving mailboxes from our older 2010 server. One thing I've noticed is this file called mail.que sitting in the following folder:
C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue
As you can see it is sitting on the OS volume and it is beginning to become a concern as that drive is running low on space. This que file is at about 6Gb in size now and seems to continue to grow. I found the following article which describes how to adjust the "SafetyNetHoldTime" value using set-TransportConfig. I guess lowering this value would make it grow less. Although you can't shrink once it gets out of control it seems. Right now our value is 7 days it appears. Which is different than the article mentions it should be, perhaps it is 2013 that is default at 2 days.
https://www.admin-enclave.com/en/articles/exchange/296-resolved-exchange-hub-transport-mail-que-file-large-in-size.html
Anyway, it appears this is basically a database and probably should get moved to a data volume just like our mailbox databases are. I'm curious what best practice is. Our little OS drive is only 80Gb and is down to 25Gb or so left over. It's nice having a small OS drive for restore purposes, but I need to get things like this off that drive.
Here is another article that describes the process of moving the mail.que file to a data volume. Bad idea? Is this a non-disruptive task? Recommended? Microsoft provided script for this task: .\Move-TransportDatabase.ps1
https://www.alitajran.com/move-mail-queue-exchange-2016-to-another-location/
Regards,
Adam Tyler