Edit the MTA Option file.
Set the LOG_QUEUE_TIME option to 1.
This option logs the amount of time a message has spent in the queue. The queue time is logged as an integer value in seconds. It appears immediately after the application information string in non-XML format logs. The attribute name in XML formatted logs for this value is qt.