Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How to clear IIS6 SMTP Mail Queue ?

Avatar of dog_star
dog_star asked on
Microsoft IIS Web ServerSBSOS Security
6 Comments1 Solution8855 ViewsLast Modified:
i'm running a windows 2003 server to host a number of websites... after some recent technical difficulties i had to rebuild the server...

unfortunatly it looks like i didn't correctly protect the SMTP mail server (which is only used for sending out CDO emails from hosted sites, the main mailserver i use for clients is smartermail)...

our IP address was  blocked by yahoo and other big isps for sending spam a few days ago...

i checked the 'badmail' folder in the inetpub and found there were upwards of 250,000 bounced mails there... some spammers were obviously having a field day with my smtp server...

i've now changed the settings so that realys are only accepted from and anonymous access is now disallowed.

my problem is that when i start up the SMTP server again spam is continuing to be sent out because the Queue folder is apparently full of junk waiting to go out...

i've tried entering this folder but the computer hangs, presumably because there are so many there...

i've tried deleting and renaming the folder but even with the smtp server turned off i get an 'Access Denied' error...

what can i do to flush or empty the queue folder ?
Avatar of RemcovC
RemcovCFlag of Netherlands image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers