SOLVED

mail.que

%3CLINGO-SUB%20id%3D%22lingo-sub-212170%22%20slang%3D%22en-US%22%3Email.que%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-212170%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20exchange%20hybrid%20environment.%3C%2FP%3E%3CP%3E%3CSPAN%3Eon%20my%20edge%20server%20under%20the%20path(C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CTransportRoles%5Cdata%5CQueue)%20i%20can%20see%20a%20file%20mail.que%20which%20is%2050GB.%20can%20this%20file%20size%20be%20reduced%20or%20deleted%20as%20i%20am%20running%20out%20of%20diskspace%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-212170%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn-Premises%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-212186%22%20slang%3D%22en-US%22%3ERe%3A%20mail.que%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-212186%22%20slang%3D%22en-US%22%3EThe%20mail.que%20is%20not%20supposed%20to%20be%20reduced%20in%20size.%20It%20does%20contain%20the%20regular%20message%20queues%2C%20shadow%20queues%20and%20stores%20messages%20using%20the%20safety%20net%20functionality.%20This%20file%20is%20provide%20message%20transport%20high%20availability%20within%20a%20DAG.%20Depending%20on%20the%20Exchange%20org's%20transport%20settings%20(max%20size%2C%20safety%20net%20time%2C%20etc.)%20the%20file%20keeps%20(large)%20messages%20for%20the%20configured%20time.%20You%20can%20either%20move%20the%20transport%20database%20to%20a%20dedicated%20disk%20volume%20or%20(if%20you%20are%20sure%20that%20you%20won't%20loss%20any%20messages)%20you%20can%20stop%20the%20MSExchangeTransport%20service%20on%20that%20server%2C%20delete%2Fmove%20the%20file.%3CBR%20%2F%3EAs%20you%20are%20referring%20to%20the%20queue%20database%20on%20an%20edge%20server%2C%20I%20would%20stop%20MSExchangeTransport%20and%20delete%20the%20file.%20But%20I%20assume%20that%20the%20file%20will%20start%20growing%20again.%20That's%20what%20it%20does.%20And%20that's%20what%20it's%20supposed%20to%20do%2C%20especially%20when%20your%20users%20are%20allowed%20to%20send%20large%20messages.%3CBR%20%2F%3E%3CBR%20%2F%3ECheers%2C%3CBR%20%2F%3EThomas%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

We are using exchange hybrid environment.

on my edge server under the path(C:\Program Files\Microsoft\Exchange Server\V15\TransportRoles\data\Queue) i can see a file mail.que which is 50GB. can this file size be reduced or deleted as i am running out of diskspace 

1 Reply
Highlighted
Best Response confirmed by Rising Flight (Frequent Contributor)
Solution
The mail.que is not supposed to be reduced in size. It does contain the regular message queues, shadow queues and stores messages using the safety net functionality. This file is provide message transport high availability within a DAG. Depending on the Exchange org's transport settings (max size, safety net time, etc.) the file keeps (large) messages for the configured time. You can either move the transport database to a dedicated disk volume or (if you are sure that you won't loss any messages) you can stop the MSExchangeTransport service on that server, delete/move the file.
As you are referring to the queue database on an edge server, I would stop MSExchangeTransport and delete the file. But I assume that the file will start growing again. That's what it does. And that's what it's supposed to do, especially when your users are allowed to send large messages.

Cheers,
Thomas