Outgoing Message Queue Cleanup

Well... we obviously got hit with relay emailing.  The message queue is chucked full... and can only delete 10,000 emails at a time... I have been 6 hours deleting 90,000 emails.  Is there a faster way to delete these from the queue AND any way of knowing HOW MANY emails are in this????
Thanks for your help.
limo-nadineAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Makr_Watson27Commented:
You can try a Custom Filter on your Messages Waiting to be routed queue:

Expand your Server - Protocols - SMTP - SMTP Server - Queues
Right click Messages Waiting to be routed and select Custom Filter
Choose Delete (no NDR) for the Action
Choose Select all messages
Click OK

Hope this helps
BembiCEOCommented:
Have a look at the file based queues, i.e. EXSRVDIR\MailRoot\vsi 1 or similar, there you may able to delete the queue, but take care, that you delete no real mails (may be the size helps).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David WilhoitSenior Consultant, ExchangeCommented:
Pause the SMTP VS, that will allow all queues to flush out. However, it will stop mailflow during this time.

http://support.microsoft.com/default.aspx?scid=kb;en-us;251087


D
charles_2003Commented:
Delete the mails direct from programfiles/exchsrvr/mailroot/vs1/queue. Search within the directory for "postmaster" in the content to delete NDRs. Search for other tell tale contents like specific from domains and to domains to delete rouge emails. This should clear most of the mails in the queue.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Software

From novice to tech pro — start learning today.