How to remove all messages in mail queue

by George Benko, 2by2host
2010-02-21 12:08:43

Remove messages from command line

Remove all messages older than 24 hours:

/usr/sbin/exiqgrep -o 86400 -i | xargs exim -Mrm

Remove messages from WHM

WHM > Mail Queue Manager > Delete Mail Queue > Delete all

count of the messages in the queue:

exim -bpc

Home   Our knowledge base   Sitemap   Contact           Terms of Service   Privacy Policy   Usage Policy           © 2002-2010, All rights reserved, Atlantic Silicon Inc.