Search Our Database
Linux Tutorial : Exim Mail Cheatsheet
Introduction
Exim is a powerful and flexible message transfer agent (MTA) used for managing email on Unix-like systems. It is widely adopted due to its customizable features and is a popular alternative to other MTAs like Sendmail. This cheatsheet covers commonly used Exim commands to manage email queues, view message logs, and troubleshoot email delivery.
Prerequisites
- Root or administrator access to the Linux system.
- Basic familiarity with Linux commands and Exim’s mail queue management.
Here is a cheat sheet for you to some of the most commonly used commands:-
- Send a specific message
exim -M id
- Process the entire mail queue
exim -qf
- Flush frozen messages
exim -qff
- View message log
exim -Mvl id
- View message headers
exim -Mvh id
- View message body
exim -Mvb id
- Remove message from the queue
exim -Mrm id
- Bounce a message
exim -Mg id
- Summary of messages in queue
exim -bp | exiqsumm
- Show what Exim is doing
exiwhat
- Show the number of messages in the queue:
exim -bpc
- List messages in the queue
exim -bp
Conclusion
This Exim cheatsheet provides essential commands for managing and troubleshooting your mail server. Regular use of these commands ensures efficient queue management and message tracking. For more in-depth customization or troubleshooting, refer to Exim’s official documentation or contact support.