There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Windows Server
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network operating system printer problem ram registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Server >
multiple file deletion - badmail

Reply  
Thread Tools
jssch's Avatar
Member with 433 posts.
 
Join Date: Nov 2000
Location: James Island, SC
27-Jun-2009, 01:15 PM #1
multiple file deletion - badmail
We have a major headache. Email went down this week. Looking into it, we found that we have 400,000 objects in the badmail folder. I am trying to clean it out, but the server is dragging painfully slow. I am only deleting 200 - 500 at a time and most of the files are 1 - 10kb. That hourglass is sticking its tongue out at me, I swear. Is there anyway to help speed this process up?

We are running Windows Server 2003 Standard x64 edition with 1GB Ram and 3.00 GHz Pentium processor.
__________________
There's always hope.....
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
27-Jun-2009, 01:35 PM #2
I have never run Exchange but a quick GOOGLE search found this.
http://support.microsoft.com/kb/867642
http://www.microsoft.com/downloads/d...DisplayLang=en

And another tool you should have in your arsenal of utilities.
http://www.solarwinds.com/register/r...PUK-Body-EI-DL
jssch's Avatar
Member with 433 posts.
 
Join Date: Nov 2000
Location: James Island, SC
27-Jun-2009, 01:47 PM #3
We are not using Exchange, just the service that came with Server 2003 Standard Edition. Would there be similar instructions? I looked on the Windows Server 2003 help and support page, but didnt see anything. I see that I can automatically delete the emails from the badmail folder with a batch file and task scheduler. Just wondering how to get rid of the ones I have now with the files being so many. Once I have them cleared, I will set the batch file up. Can I rename the folder and recreate the original one? Would that at least get our email back up and running?
__________________
There's always hope.....

Last edited by jssch; 27-Jun-2009 at 02:24 PM..
Squashman's Avatar
Trusted Advisor with 18,706 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
27-Jun-2009, 11:23 PM #4
You would think the badmailadmin program would work regardless if it was exchange or the standard smtp server.

But as I was reading a response you got on TechRepublic, it might be a good idea to do what he suggested. Delete them from DOS and do it when the server load is light at night.

We could probably write a batch file to loop thru all the emails a small chunk at a time.

How do you know this is keeping the server from running?
Mordreneth's Avatar
Junior Member with 20 posts.
 
Join Date: Jul 2009
03-Jul-2009, 05:32 PM #5
If memory serves me correct - it's using the SMTP service under IIS.....stop IIS temporarly, which should give you time to clear the folder...
avisitor's Avatar
Computer Specs
Senior Member with 1,712 posts.
 
Join Date: Jul 2008
Location: Chicago, IL
Experience: Advanced
05-Jul-2009, 11:19 AM #6
You can actually stop the SMTP service without stopping IIS if you want through IIS Manager (inetmgr).

Then I'd run a batch file to delete the messages.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:26 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.