Viewing Messages in Your Qmail Queue
Print this Article
Last Updated:
November 14, 2014 10:39 AM
Some of the information in this article is advanced material we make available as a courtesy. Please be advised that you are responsible for properly following the procedures below. Customer Support cannot assist with these topics.
You can view messages in the Qmail email queue.
To View Messages in the Email Queue
- Connect to your server via SSH (more info).
- Switch to the root user (more info).
- Enter your server's password.
- List out all messages currently in queue by running:
/var/qmail/bin/qmail-qread
- Count the number of messages in the queue currently by running:
/var/qmail/bin/qmail-qstat
- Read the entire contents of an email in queue, including headers, by running:
find /var/qmail/queue -name NNNN| xargs cat | lessWhere NNNN is the ~8 digit ID specified on the /var/qmail/bin/qmail-qread command.