Scenario:
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
http://technet.microsoft.com/en-us/library/bb123535.aspx
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +http://smtp25.blogspot.com/(Blog)http://telnet25.wordpress.com/ (Blog)