Web Hosting Talk


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Exim Problem - Deleting Mail Queue Fails
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)

 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-07-2008, 04:49 PM
TheHero TheHero is offline
View Beta Profile
Junior Guru Wannabe
 
Join Date: Dec 2007
Posts: 58
Exim Problem - Deleting Mail Queue Fails

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:

Quote:
Error proccessing the list

Details

No valid message ID's were passed
So I logged in as root and tried:

Quote:
exim -qff
But then it failed after about a minute with this error message:

Quote:
dm-0: write failed, user block limit reached.
Any ideas?

Thank you for your help!

Reply With Quote
Sponsored Links
  #2  
Old 10-07-2008, 07:58 PM
RoseHosting RoseHosting is offline
View Beta Profile
Junior Guru
 
Join Date: Nov 2001
Posts: 208
Check the following link: http://directadmin.com/forum/showthr...+ID%27s+passed

I hope this will help you.

__________________
---=== RoseHosting.com Admin ===---
Linux Web Hosting - rosehosting.com
Linux VPS Hosting Specials - rosehosting.com/virtserv-spec.html
High Quality Linux virtual servers with lots of Guaranteed RAM and HDD space, Impeccable Service.

Reply With Quote
  #3  
Old 10-08-2008, 07:04 AM
Patrick Patrick is offline
View Beta Profile
FreeBSD Powered
 
Join Date: Mar 2003
Location: Canada
Posts: 5,488
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.

__________________

SYN Hosting - Affordable, Reliable & Secure

FreeBSD -/- cPanel -/- RVSkin -/- RVSiteBuilder Pro
http://www.synhosting.com - New Website Coming Soon!

Reply With Quote
Sponsored Links
  #4  
Old 10-08-2008, 07:50 AM
david510 david510 is offline
View Beta Profile
At the Cliff
 
Join Date: Oct 2004
Location: India
Posts: 4,232
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

__________________
David
www.cliffsupport.com
Affordable Server Management Solutions
Services Offered | sales AT cliffsupport DOT com

Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement: