Knowledgebase: Support > E-Mail
How do I remove all messages from the Exim queue?
Posted by - NA - on 24 July 2009 09:54 AM
exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | shThis command will definately get the job done. It will list all the messages in the queue and use awk to extract the message ID. Then it rewrites that list of message ID's to Exim's internal message deletion functions and executes those commands in sequence.

Powered by TurnKey Internet