exchange mail.que size

hub transport Mail.que file large in size

Get-TransportConfig | select SafetyNetHoldTime

Set-TransportConfig -SafetyNetHoldTime 2.00:00:00

Check the SafetyNetHoldTime value. This parameter specifies how long a copy of a successfully processed message is retained in Safety Net. Unacknowledged shadow copies of messages auto-expire from Safety Net based on adding the values of the SafetyNetHoldTime parameter and the MessageExpirationTimeout parameter

https://www.admin-enclave.com/en/articles/exchange/296-resolved-exchange-hub-transport-mail-que-file-large-in-size.html