How to delete emails from email queue in Exim

You can use the following command to delete emails one by one from email queue.

# exim -Mrm 1SXOGY-0004C6-Gb
Message 1SXOGY-0004C6-Gb has been removed

To remove a message from the queue, enter:

# exim -bp | awk ‘/^ *[0-9]+[mhd]/{print “exim -Mrm ” $3}’ | bash

Remove mails to a particular sender in the queue :-

exiqgrep -i -t user@domain.com | xargs exim -Mrm

-t to address

 

One thought on “How to delete emails from email queue in Exim

  1. Such type of particular article definitely will has lots of users. The best article as well as subject matter is indeed handy. Many thanks for posting it down!

Leave a comment