We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

BadMail Clean up.

rfinaly
rfinaly asked
on
Medium Priority
1,021 Views
Last Modified: 2008-04-17
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
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Expert of the Year 2007
Expert of the Year 2006

Commented:
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.

Commented:
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.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.