HostOnNet Blog

Exim mail queue commands

Looking for Linux Server Admin or WordPress Expert? We can help.

exim

To view list of messages in the exim mail queue

exim -bp

Delete all Forzen Mail From Queue

 exim -bp | grep frozen | awk '{ print $3 }' | xargs exim -Mrm 

To remove a message from the queue, enter:

exim -Mrm {message-id} 

To remove all mails from exim mail server queue, run

exim -qff 

Get the content of an email by message id

exim -Mvb message-id 

Show an email’s body

exim -Mvb message-id 

View an email’s header

exim -Mvh message-id 

Print what Exim is doing right now:

exiwhat

About Annie

I've been working in Technical Section for over 10 years in a wide range of tech jobs from Tech Support to Software Testing. I started writing blog for my future reference and useful for all.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.