Portal Home > Knowledgebase > Articles Database > Exim Problem - Deleting Mail Queue Fails
Exim Problem - Deleting Mail Queue Fails
Posted by TheHero, 10-07-2008, 04:49 PM |
Hi,
I've been thrown in a middle of a problem with someone else's dedicated server.
The server is actually running DirectAdmin with Exim. Lately they've had problems with Exim as it started creating a ton of processes until the server would run out of resources.
Looking at the mail queue, it was loaded with spam and I can't empty the queue through DA as it said:
So I logged in as root and tried:
But then it failed after about a minute with this error message:
Any ideas?
Thank you for your help!
|
Posted by RoseHosting, 10-07-2008, 07:58 PM |
Check the following link: http://directadmin.com/forum/showthr...+ID%27s+passed
I hope this will help you.
|
Posted by Patrick, 10-08-2008, 07:04 AM |
If you're trying to delete the mail queue, why are you issuing an exim -qff as that will force a delivery of the queued up messages, and the write failed error is due to you hitting a disk quota...
To remove the messages, try:
exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | sh
If that doesn't work, what OS are you running? Linux or FreeBSD as the instructions are a bit different to remove the queue directory, and that may be required if you have too many messages.
|
Posted by david510, 10-08-2008, 07:50 AM |
What is the result of this?
df -h
What does this result?
exim -bpc | wc -l
To forcefully send mails in verbose use below.
exim -bpru |awk '{print $3}' | xargs -n 1 -P 40 exim -v -M
|
Add to Favourites Print this Article
Also Read
Cent Os Help (Views: 532)