Eye to eye with Exim
06 Aug 2009Sometimes there are messages stuck in the Exim mail queue and sometimes you might wish to look inside them. Exim is a complex beast, but it comes with plenty of tools to help you analyze the current situation.
To see how many mails are stuck in the queue and since when use:
This will output a list of message IDs; to look inside these messages use for the header
for the body
If these don’t work for you, try “exim” or “exim3” instead of “exim4”.
Here are a few more commands (via Florian Fritsch):
Get the mail queue as a table:
Get the number of mails in the queue:
Force the delivery of emails that have a local recipient:
Find out why a specific mail could not be delivered:
Process the queue and send out the emails (if possible):
Process the queue and send out the emails (verbose mode):
Send out frozen emails:
Delete all frozen emails:
Delete a specific email from the queue: