exim-imap down? WHM
Have you ever experienced exim and imap being down on your server and never really found a fix for it? Well you have come to the right place, there can be many reasons why exim and imap are down, mostly due to the fact that a client/user on your server is mass mailing over thousands of emails which the server cant withstand.
The first step you have to do is delete the delivery que:
You can do that do that be doing this following command :
# exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash
After you do that, restart your exim server and it should work, unless you had an similar issue I had where the server wouldnt do it properly.
Step 2. This step will fix the issue with imap and exim being down.
*First of all login to whm with your root.
*Find “Mailserver Selection” and click it.
*And choose Courier instead of Dovecot (since dovecott always has issue with centos for some odd reason)
*Click Save.
* Viola You should have you exim and imap back up again.
PS: The changing of mail server can take from up to 10 mins to 20 mins so be patient.
Hope this has helped anyone with their server problems.








Nice tutorial, it really helped me on my dedicated server, thanks you so much.
Glad i could help you out, i struggled aswell when it hit my server took me awhile to find the root of the problem:P.