Here is a bash script to delete mails in exim mail queue. Helpful when you have lot of spam mails in mail queue.

Create file


Make it executable

Monitor Server Mail Queue

Run following script every 1 hour to monitor/alert email queue

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *