Force Email Delivery on Exim

Hundred emails are queuing on your mail relay server, and you have to push the email to the destination mail server after it has came online. Using exim -M can helps you to delivery the email instantly.

First and foremost, find out how many email is in the queue for a specific domain

Alright, you have grepped the email which are queuing on your mail server, which delivered to your relay server on 44 minutes ago with the email id. To deliver the email to destination mail server

What is there are more than 50 emails? Here is a simple sample bash script showing how to deliver the email to destination email server.

Sit back and relax, the email is being push to the destination mail server. Check your email logs to see delivery status.