Clean/Flushing Exim mail queue
Sometimes, it is necessary to clean the mail queue of exim. It is not very tough thing to to. Use the following steps to do the same:
- Login to WHM as root
- Click Mail Queue Manager from Email section of left side menu
- You will get a new page in right frame. Click Delete all messages in Queue. Confirm the same from confirmation window that comes. It will delete all mails in queue.
- You may delete one by one too. On the same page, you will see list of all mails queued. Click corresponding Delete link to delete the email.
If you don’t have cPanel, you may also clean from shell.
- SSH to server as root
- run the following command:
exim -qff