There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Windows Server
Tag Cloud
adware audio bios blue screen boot bsod computer crash dell driver drivers dvd email error excel firefox freeze freezing google hard drive hardware hijackthis install internet laptop linux malware network no sound outlook outlook 2007 problem router screen slow sound speakers spyware startup trojan usb video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Windows Server >
multiple file deletion - badmail

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
jssch's Avatar
Senior Member with 324 posts.
 
Join Date: Nov 2000
Location: James Island, SC
27-Jun-2009, 12: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
Distinguished Member with 14,920 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
27-Jun-2009, 12: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
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - User Desktop Experience
jssch's Avatar
Senior Member with 324 posts.
 
Join Date: Nov 2000
Location: James Island, SC
27-Jun-2009, 12: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 01:24 PM.
Squashman's Avatar
Distinguished Member with 14,920 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: IIAHYAYCESA,YAADA!
27-Jun-2009, 10: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?
__________________
I hate asking the same question twice!
How to ask questions the smart way!
Microsoft MVP - User Desktop Experience
Mordreneth's Avatar
Junior Member with 24 posts.
 
Join Date: Jul 2009
03-Jul-2009, 04: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,626 posts.
 
Join Date: Jul 2008
Location: Chicago, IL
Experience: Advanced
05-Jul-2009, 10: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.
Closed Thread Bookmark and Share

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:27 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.