Listing and deleting exim messages

To look at all the messages in mail queue,

exim -bp

To remove a message from the queue:

exim -Mrm “message-id”

To clear all messages in the queue:

exim -bp | exiqgrep -i | xargs exim -Mrm

Like it.? Share it:

Comments are closed.