Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to clear message queue in Qmail with ONE command  (Read 2010 times)

0 Members and 1 Guest are viewing this topic.

nirmal

  • Jr. Member
  • **
  • Posts: 56
  • Karma: +0/-0
How to clear message queue in Qmail with ONE command
« on: November 24, 2013, 09:51:21 pm »
Hi all,

Simple one line to clear message queue in Qmail.

/etc/init.d/qmail stop && cd /var/qmail/queue && find intd todo local remote mess info bounce -type f -print |xargs rm && /etc/init.d/qmail start


Yay!!! Keep it simple. :-)

Thank you for checking this.

Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!