Tuesday, August 7, 2012

Exchange 2010 Clearing out all mail in the mail queues



Al of a sudden you have figured out there are thousands of messages are queued up on your Edge server and you have identified all these messages are spam etc.


End goal:

you need to delete all mails within the queue folder as quick as possible

On the Edge Server  Stop Transport Service

Get-Service MsExc*


Get-Service MsExc* |FL



Get-Service MsexchangeTransport


Stop-Service MsExchangeTransport


Start-Service MsExchangeTransport

once this is done drill down to this directory


Select everything and delete them


Once you re-start the transport service , the required files will be put in there and all queues will be cleared out


This is quick and dirty way of dealing with un-wanted mails if there are mails in the queues which you have business purpose you can be more sophisticated with this PS command

Remove Messages from Queues



Oz Casey, Dedeal ( MVP north America)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/(Blog)http://telnet25.wordpress.com/ (Blog)


Anonymous said...

After see your site ,I feel so good.If you want I exchange my link with you .This will so better increase our PR .Some of my Keyword is bangla choti,bangla choti story,bangladeshi choti,bangla choti book,kolkata choti,free choti,bangla choti online,Bengali choti,bangla choti blog,bangla choti golpo
If you search in google by this keyword you find my site.

Genie said...

Thread digging, this helped me, but... Stop the service THEN delete the queue THEN start the service. You stop then start the service then say delete the queue. This is wrong and fails because the queue is in use again, file lock yadda yadda. Hope this helps.

Anonymous said...

After you have removed the old queue and started the service you will need to wait minutes or so before mailflow is restored.

Leslie Lim said...

Thanks to the writer of this article. I appreciate your effort in making this informational blogs. I know it's not easy to do this but you have done a really great job. Congrats. I'm pretty sure your readers enjoying it a lots.


Silvia Jacinto said...

Thanks for sharing such a wonderful article, I hope you could inspire more people. Visit my site too.



Faizan Afzal said...

http://www.elisting.us/ business and personal webpages from united states.

Credit Loan Solution said...

Are you tired of seeking loans and Mortgages,have you been turned down constantly By your banks and other financial institutions,We offer any form of loan to individuals and corporate bodies at low interest rate.If you are interested in taking a loan,feel free to contact us today,we promise to offer you the best services ever.Just give us a try,because a trial will convince you.What are your Financial needs?Do you need a business loan?Do you need a personal loan?Do you want to buy a car?Do you want to refinance?Do you need a mortgage loan?Do you need a huge capital to start off your business proposal or expansion? Have you lost hope and you think there is no way out, and your financial burdens still persists? Contact us (gaincreditloan1@gmail.com)

Your Name:...............
Your Country:...............
Your Occupation:...............
Loan Amount Needed:...............
Loan Duration...............
Monthly Income:...............
Your Telephone Number:.....................
Business Plan/Use Of Your Loan:...............
Contact Us At : gaincreditloan1@gmail.com
Phone number :+44-75967-81743 (WhatsApp Only)

advmovers said...

Best Moving Company +971 50 3605353
Office and staff relocation should run as professionally and cost efficiently as any successful business. Therefore ADV MOVERS Corporate aim to provide you with the best moving services and moves without any comebacks.

Movers in Dubai
office movers in dubai
Affordable Moving Company in Dubai
Packer in Dubai
Re locate services in Dubai
Professional Movers in Dubai
Movers and Packers Abu Dhabi