How to check mail Queue in plesk.

29 Sep


To see the statistics of the queue:

/usr/local/psa/admin/bin/mailqueuemng -s
Messages in local queue: 0
Messages in remote queue: 0
Messages in todo queue: 0
Messages total: 0
Messages found: 0
Timestamp: 1215870834

From this you can see the status of qmails local,remote and to do list.

If you wish to do a delivery of the queued messages now run the following command

/usr/local/psa/admin/bin/mailqueuemng -a

To list remote message queue:

/usr/local/psa/admin/bin/mailqueuemng -R

list local message queue:

/usr/local/psa/admin/bin/mailqueuemng -L

To delete messages with a particular pattern in the subject line

/usr/local/psa/admin/bin/mailqueuemng -S”text”

eg: /usr/local/psa/admin/bin/mailqueuemng -S”failure notice”

will delete all delivery failed messages

To delete all messages in the queue (Use with caution – possible data loss )

/usr/local/psa/admin/bin/mailqueuemng -D


Posted by on September 29, 2011 in Uncategorized


2 responses to “How to check mail Queue in plesk.

  1. Watson

    April 3, 2012 at 6:27 pm

    Thank you for publishing such a wonderful post !!!!!!!!!!!!!!!!!!!!!!!

    • linuxfundas

      May 7, 2012 at 10:19 am

      Thank you very Much for Motivation and wonderful Feedback!! Please explore other information might they help you. 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: