Donate To The Empire:
Sometimes as a mail server administrator you have to deal with spammers deluging your system, or your users suddenly deciding to email a 600mb Christmas album to the entire office, in july. Of course the first issue can be easily handled by some decent anti-spam measures. But when the second issue happens it can bring your Exchange server screeching to a halt and prevent mail from flowing. Sometimes these emails are important and you can’t just dump them, but for the times when “Frosty’s Magical Christmas Theater Volume XVI” is trying to hammer your mail server to death you can fire up a great tool called AQADMCLI.
First download the tool from Microsoft and drop it into the C:\Windows directory of your server (or if you have a specific directory for tools that you already have in the windows path, drop it there.) then open up a command prompt. Now type AQADMCLI and press enter. You’ll get a new prompt that allows you to enter commands. To clear your mail queue do the following:
Setserver <servername>
delmsg flags=all
It is also possible to delete messages based on specific criteria such as SENDER, RECIPIENT, etc… more complete information can be found by typing HELP from the command line after running AQADMCLI.