1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Can't find qmail-qstat

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Justin Clarke, Mar 19, 2010.

  1. Justin Clarke

    Justin Clarke Regular Pleskian

    22
    40%
    Joined:
    Mar 3, 2010
    Messages:
    117
    Likes Received:
    0
    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.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Seems you have Postfix MTA installed instead Qmail. Check it.

    Mentioned file is a part of psa-qmail package:

     
  3. Justin Clarke

    Justin Clarke Regular Pleskian

    22
    40%
    Joined:
    Mar 3, 2010
    Messages:
    117
    Likes Received:
    0
    Thanks for that. Do you know how to access the mail queue stats for Postfix? Cheers.
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,576
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You can list Postfix mail queue with

    # postqueue -p

    ('man postqueue' for details)
     
Loading...