Facbook Pixel

Viewing Messages in Your Qmail Queue

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

  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Enter your server's password.
  4. List out all messages currently in queue by running:
    /var/qmail/bin/qmail-qread
  5. Count the number of messages in the queue currently by running:
    /var/qmail/bin/qmail-qstat
  6. Read the entire contents of an email in queue, including headers, by running:
    find /var/qmail/queue -name NNNN| xargs cat | less
    Where NNNN is the ~8 digit ID specified on the /var/qmail/bin/qmail-qread command.