How to clear the entire mail queue

Created:

2016-11-16 13:01:10 UTC

Modified:

2017-08-16 15:44:23 UTC

9

Was this article helpful?


Have more questions?

Submit a request

How to clear the entire mail queue

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Question

How to clear the entire mail queue?

Answer

Note: the following commands will remove emails from mail queue, not send them.

There are two ways to do this:

  1. Use Plesk interface: Tools & Settings > Mail Server Settings > Mail Queue > Clear

  2. Use command-line utility:

    # /usr/local/psa/admin/sbin/mailqueuemng --clean
Have more questions? Submit a request
Please sign in to leave a comment.