• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Can't find qmail-qstat

Justin Clarke

Regular Pleskian
As per this article: http://kb.odin.com/en/158 I cannot find qmail-qstat in /var/qmail/bin/qmail-qstat

In /var/qmail I have the folders:

mailnames (contains folders for all domains on the server)
popuser (this is empty)

If I go into any of the domain folders inside mailnames there is no qmail-qstat, only a .qmail file

Any ideas?

I'm trying to find the file so I can script something that tells me how many messages are in the queue.

Thanks.
 
Seems you have Postfix MTA installed instead Qmail. Check it.

Mentioned file is a part of psa-qmail package:

# rpm -qf /var/qmail/bin/qmail-qstat
psa-qmail-1.03-cos5.build93091230.06
 
You can list Postfix mail queue with

# postqueue -p

('man postqueue' for details)
 
Back
Top