Basic commands to manage Exim mail server
The Exim is a light weight & highly configurable message transfer agent (MTA) for Unix or Unix-like operating systems with GNU licence.
When I have to manage web server, I like to use Exim for my applications due to the easiness.
We can easily manage exim
via command line.
exim -bp
- shows messages in queueexim -bpc
- shows the no.of messages in queueexim -bP
- shows the current configurations of eximexim -bV
- shows the version and configuration file of eximexiwhat
- Finding out what Exim processes are doingexim -qf
- Force another queue runexim -qff
- Force another queue run and attempt to flush frozen messagesexim -Mvl messageID
- View Log for messageexim -Mvb messageID
- View Body for messageexim -Mvh messageID
- View Header for messageexim -Mrm messageID
- Remove message (no errors sent)exim -Mg messageID
- Give up and fail message, message bounces to senderexiqgrep -zi
- List Mail ID (-z : frozen mails only, -i : display message IDs only)exim -M emailID
- Force delivery of one message
Recent Posts
- Automating Release Generation with GitHub Actions
- WP CLI Commands to Bulk Delete Entries in WordPress Database
- Split a Single CSV File into Multiple Files Using the Split Command - Bash
- Migrating code repo from BitBucket to GitHub
- Streamlining Development - Our Journey with Git, Bitbucket, and Jira
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about it, please get in touch.