BadMail Clean up.

Hello Exports,

I would like to delete my BadMail folder with a script I found on this site, but before doing so. I would like to understand what data locate in the badmail folder? would my users will lose data?

Can I just delete the badmail folder completely and create a new one?


Thank you,

Roy
rfinalyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

plimpiasCommented:
No you will not loose any data at all by deleted the badmail folder contents. I recommend using the tool that microsot created in order to delete the contents of the badmail folder. Otherwise you will need to stop the services and delete and recreate the folder manually. The badmail folder contains bad emails that were either sent out or recieved. Go to www.microsoft.com/exchange and go to the downloads section and you will find it under excahgne 2k3. Its call badmaildeletetion tool. Its a vbs script that you run. If You install SP1 for exchagne, exchagne does no longer use the badmail folder for ques.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SembeeCommented:
You don't even have to create a new badmail folder.

All I do is rename the badmail folder. Windows/Exchange will recreate it as required.
Then simply SHIFT-DELETE the folder. Don't try and open the folder in Windows Explorer as you will probably be there for ever while Windows tries to enumerate the contents.
The reason I suggest using SHIFT-DELETE is that it bypasses the recycle bin, otherwise all you are doing is move the contents to another folder, only to empty the recycle bin and repeat the process - so cut out the middle man.

Badmail is basically bad mail. NDRs and other non-deliverable items. Nice idea from Microsoft to store it all, except no one knew about it, or checked it regularly. Fortunately Microsoft saw the light and disabled it by default with the later versions of Exchange - it can be enabled with a registry hack if required.

Simon.
0
benrattyCommented:
I have tried using the badmail admin tool from Microsoft and all I get is
C:\Program Files\Exchsrvr\mailroot\vsi 1\badmail: bytes total
Err.Number: 6
Err.Description: Overflow
Err.Source: Microsoft VBScript runtime error

The folder has about 3gb in data in it though.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.