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
Got a project in mind? Send me a quick message, and I'll get back to you within 24 hours!.
Recent Posts
- Disabling Payment Methods in WooCommerce Based on Conditions
- How to Update Product Quantity in WooCommerce Using Custom Code
- Dynamically Generating a Table of Contents in WordPress
- Direct Checkout in WooCommerce - Add Product to Cart from Checkout Page & Skip Shop, Product, and Cart Pages
- Understanding the Impact of git reset --hard Command
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about it, please get in touch.