I was inherited this server so I'm not yet fully familiar with its setup.
However, I noticed that C:\inetpub\mailroot\Badmail\
directory contains ~400,000 files. For now I do not want to delete the whole thing, only perhaps files older than 1/1/2012
.
I tried to use BadMailAdmin script, however when I run it on that dir, it errors out with:
ERROR: C:\inetpub\mailroot\Badmail\: bytes total.
Err.Number: 6
Err.Description: Overflow
Err.Source: Microsoft VBScript runtime error
Possibly because of so many files in there. I tried to use just regular Windows Explorer. It takes ~5min to get dir listing, but when I select a bunch of files to delete it starting chewing 100% CPU of one core and does not comeback in 2 hours that I waited.
If there any way to (quickly) delete some of these files?
Note, this is NOT Exchange server, just regular IIS/smtp.