How to clear exim mail queue ?

Here you find the ways to clear exim mail queue.

1. Log into server as root and just run the following command.

exiqgrep -i | xargs exim -Mrm

If you have small mail queue then this command will help you remove them, but in case of huge mail queue it will take hours to clean the queue. In that case you can follow the second method

2. Run following commands one by one


rm -rf db

rm -rf msglog

rm -rf input

This will help you to clear huge mail queue within less timeline.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

Adding secondary IPs to Cpanel

  To access the IP Functions Menu, click on IP Functions, on the main screen...

Suspended page / Internal Server Error

If domain is showing "Internal Server Error" except suspention page after suspending the domain...

CPanel Log file locations

CPanel stores it’s log files in the /usr/local/cpanel/logs directory. Below is a list of the...

How do convert a dedicated ip to a shared ip on cPanel/WHM

In root SSH, copy the /etc/domainips file and then remove the IP from it: Code: cp...

Install RKHunter

You can install RKHunter on Linux Server by using following steps.1 Login to your server as...