Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Queue and BadMail folders

Status
Not open for further replies.

germanc4

Programmer
Apr 7, 2005
15
US
I noticed that lately my exchance server started having alot of problems, i then realized that the queue folder had like 45,000k items in queue and the badmail folder just kept on growing, i erased them and just as I did I had more... I mean, I have less than 60 users and they dont send or recieve that much mail... what could it be??? It was so much that the available space on the HD went to <1MB :S
 
Sounds like you are being spammed, and the queues are your server sending out NDR's

Firstly, you need to switch off NDR to the internet, and secondly, run a script to delete the contents of your badmail folder every day.

There are some good threads on this forum explaining how to do the above, I will do a search this afternoon if I get 5 min

Cheers

Paul
 
stick this in a batch file and modify the locations to suit your server, it should cut down on the down time whilst clearing out the badmail queue

--------------
setlocal ENABLEDELAYEDEXPANSION
cd "C:\Program Files\Exchsrvr\Mailroot\vsi 1\"
echo !time!
net stop smtpsvc
ren badmail badmailold
md BadMail
net start smtpsvc
echo !time!
del badmailold\*.* /Q
rmdir badmailold
echo !time!
---------------

Cheers

Gurner

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top