Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a Linux admin and I have to manage some Windows hosts too. I want to flush the mails for a particular mailbox in Exchange 2007. How I can do that ?

share|improve this question

migrated from Sep 15 '10 at 20:03

This question came from our site for computer enthusiasts and power users.

Can you describe what you mean by "flush the mails" - do you want to delete the whole mailbox of a user? – mfinni Sep 15 '10 at 20:12
up vote 0 down vote accepted

If you mean flush just like you would on postfix, then I know what you mean. Open up Exchange Management Console on the machine and run this command:

get-queue –SortOrder:-MessageCount 

You'll get a list of all the message queues that have undelivered mail, you can then:

retry-queue ID-OF-QUEUE

As far as flushing a particular mailbox of an actual user I don't think there's a way, but you can re-attempt delivery for specific delivery destinations with the above commands. For more good information on dealing with Transport Queues in Exchange see:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.