Link to home
Start Free TrialLog in
Avatar of rfinaly
rfinaly

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of plimpias
plimpias
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of benratty
benratty

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.