Working with the exim queue

  • August 19, 2015
  • Exim

Here are a few simple commands to use from the command line to view and manage the exim queue. List total emails in the queue: exim -bpc   List all emails in the queue: exim -bp   Get the headers from an email using the message-id: exim -Mvh <message-id>   Get the email body from an email using message-id: exim -Mvb <message-id>   Clear the queue: exim -bp | awk ‘/^…