How to read HUGE clientmqueue in human format?

Solution 1:

For typical queue try sendmail -Ac -bp or mailq -Ac
For HUGE queue try sendmail -O QueueSortOrder=none -Ac -bp

  • -Ac selects client queue
  • -Am selects main/MTA queue

You may add -v to get even more verbose output.

In case of HUGE queue add -O QueueSortOrder=none to avoid sorting queue entries.
If none does not work then try filename.
AFAIK none was added in sendmail-8.13.8 and filename in sendmail-8.10.

Documentation:
QueueSortOrder