Announcement

Collapse
No announcement yet.

How do I check how many messages are there in the mail queue?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I check how many messages are there in the mail queue?

    Hello,

    You can check number of emails in the mail queue by running the following command:


    For qmail
    ==================

    /var/qmail/bin/qmail-qstat


    messages in queue: 56
    messages in queue but not yet preprocessed: 3


    For Postfix :
    ==================

    # mailq | grep Requests
    -- 4 Kbytes in 2 Requests.

    or this one
    # postqueue -p | tail -n 1
    -- 4 Kbytes in 2 Requests.

    Regards

    Nelson S.
Working...
X