Clientmqueue is over 18GB and ls /var/spool/clientmqueue is working 5 min already. I want to see what mail is in the queue. Maybe i can read some in human format? To see date title who send it and who is receiver?
For typical queue try
sendmail -Ac -bp or
For HUGE queue try
sendmail -O QueueSortOrder=none -Ac -bp
-Acselects client queue
-Amselects 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.
none does not work then try
none was added in sendmail-8.13.8 and
filename in sendmail-8.10.