« Pro Tip: Returning Office to Default Settings | Home | Solving the “general error - not enough free memory, write error” problem in AVG 8.0 »
Pro Tip: Clearing out the Exchange 2003 Mail Queues
By TheEmperor | June 6, 2008
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. When this 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.
Topics: aqadmcli, clear exchange queue, empty exchange queue, empty mail queue, mail queue |
Comments are closed.





