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
Looking for a skilled WordPress/WooCommerce developer? I'm currently available for freelance, contract, or full-time remote opportunities! Let's create something amazing together. Send me a quick message, and I'll respond within 24 hours!
Recent Posts
- Automating Code Linting with GitHub Actions for WordPress Plugins
- Comprehensive Guide to Linting PHP, JavaScript, and CSS in WordPress Plugins Using Composer
- The Ultimate Guide to Indexing in Database Design
- Understanding 'update_meta_cache' in WordPress - When to Use It, When Not to, and Its Impact on Database Queries
- A Guide to Configuring JavaScript and SCSS Paths in WordPress Plugins with @wordpress/scripts
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about it, please get in touch.