Admin-Ahead Community

Linux => Control Panels => Plesk => Topic started by: nirmal on November 24, 2013, 09:51:21 pm

Title: How to clear message queue in Qmail with ONE command
Post by: nirmal 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.