How do I remove all the messages from the Exim queue?

In this tutorial you will learn how to REMOVE ALL THE MESSAGES FROM EXIM QUEUE using LINUX COMMANDS

 

The tutorial will assume you have already accessed your shell and logged into the relevant user using an SSH tool (ex:Putty)

  1. The following command will clear Exim mail queue, Furthermore it will list all the messages in the queue and use awk to extract the message ID. " exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | sh "

 

VISUAL GUIDE

 

Using the command to clear Exim mail queue, list all the messages in queue and extract message ID:

 

 
  • 83 Users Found This Useful
Was this answer helpful?

Related Articles

Linux Disk Commands

In this tutorial you will learn how to check the DISK USAGE of DIRECTORIES using LINUX COMMANDS...

How can I find hidden processes on my Linux server?

In this tutorial you will learn how to check the HIDDEN PROCESSES ON A LINUX SERVER using LINUX...

How can I check how much of my hard disk is being used on my Linux server?

In this tutorial you will learn how to check the HARD DISK USAGE OF YOUR LINUX SERVER using LINUX...