Guide to delete the entire Mail Queue on Linux Server

Gas Server or VPS stick to your Spam mail or mail system report with the number of mails sent away on tens of thousands of emails in 24 hours continuously and the system could not handle waiting will lead to more and more emails to lead to congestion EXIM and hanging EATTENTION if VPS or Server Your overload leads to other errors of system.

The following command will list all the email in standby status Server you

# exim -bp

Clear ID exim want to filter

exim -Mrm {message-id}

Delete all emails in the pending state

exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash

Delete all email in 24 hours is in standby state of the system

/usr / sbin / exiqgrep -o 86400 -i | xargs exim -Mrm

Alternatively, you can delete the whole email queue if you are using Cpanel Server and you are in power Root

WHM > Mail Queue Manager > Delete Mail Queue > Delete all

Notice that, if the number of emails waiting on your system on 20 thousands of emails, then use the command on the SSH to handle and avoid browser crashes


VN:F [1.9.22_1171]
Rating: 4.2/5 (5 votes cast)

Guide to delete the entire Mail Queue on Linux Server, 4.2 out of 5 based on 5 ratings