Remove all messages from Exim queue

To print a list of the messages in the queue, enter:

# exim -bp

To remove a message from the queue, enter:

# exim -Mrm {message-id}

To remove all messages from the queue, enter:

# exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash

  • 62 Users Found This Useful
Was this answer helpful?

Related Articles

Software installed by default in a VPS hosting server

All VPS hosting servers are coming with following software pre-installed in each VPS server:1....

Buy VPS with Bitcoin

Buy VPS with Bitcoin Hosting Your Website There is stiff competition among business entities...

Buy web hosting with SolidTrust Pay

Webhosting With SolidTrustPay   What is webhosting?   Webhosting involves the...

Secure copy files on VPS or dedicated server with SCP

Most of the time if you are using a VPS hosting server or own dedicated server you will need to...

Buy web hosting with SafetyPay

Web Hosting with SafetyPay A web hosting service puts your website on the World Wide Web. An...