Solved

Outgoing Message Queue Cleanup

Posted on 2003-11-06
6
868 Views
Last Modified: 2013-11-15
Well... we obviously got hit with relay emailing.  The message queue is chucked full... and can only delete 10,000 emails at a time... I have been 6 hours deleting 90,000 emails.  Is there a faster way to delete these from the queue AND any way of knowing HOW MANY emails are in this????
Thanks for your help.
0
Comment
Question by:limo-nadine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 7

Expert Comment

by:Makr_Watson27
ID: 9697291
You can try a Custom Filter on your Messages Waiting to be routed queue:

Expand your Server - Protocols - SMTP - SMTP Server - Queues
Right click Messages Waiting to be routed and select Custom Filter
Choose Delete (no NDR) for the Action
Choose Select all messages
Click OK

Hope this helps
0
 
LVL 35

Accepted Solution

by:
Bembi earned 63 total points
ID: 9697585
Have a look at the file based queues, i.e. EXSRVDIR\MailRoot\vsi 1 or similar, there you may able to delete the queue, but take care, that you delete no real mails (may be the size helps).
0
 
LVL 24

Assisted Solution

by:David Wilhoit
David Wilhoit earned 62 total points
ID: 9698593
Pause the SMTP VS, that will allow all queues to flush out. However, it will stop mailflow during this time.

http://support.microsoft.com/default.aspx?scid=kb;en-us;251087


D
0
 

Expert Comment

by:charles_2003
ID: 10622317
Delete the mails direct from programfiles/exchsrvr/mailroot/vs1/queue. Search within the directory for "postmaster" in the content to delete NDRs. Search for other tell tale contents like specific from domains and to domains to delete rouge emails. This should clear most of the mails in the queue.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video discusses moving either the default database or any database to a new volume.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question