Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exchange 2003; Deleting messages in queue

Status
Not open for further replies.

Dblackak

IS-IT--Management
Joined
Feb 20, 2004
Messages
3
Location
US
I have SBS (Small Business Server) 2003 with Exchange 2003 and was attacked via SMTP AUTH LOGON. That part of the problem I have resolved. However I now have approx. 380,000 messages in the queue. I have setup the smtp connector to forward to a invalid smart host so that I can now view all connectors listed in the queue under one connector. My problem is the only way that I know to delete messages in the queue is to choose the option to "find messages" and then delete them. However the only problem is it will only allow me to select 10,000 messages to FIND at any one time. Thus I can only delete 10,000 at a time which is very time consuming. In Exch. 2000 I know there was an option to delete all messages (no NDR) but is there a way to delete all the messages at once?
 
The easiest way I found was to pull the network connection and let the messages fail.
You can speed up this process by changing the server settings so that it will send all attempts at the same time rather than over hours...
Oh and don't forget to turn off the failed message notice.
Good luck!
 
Thanks for the info that seemed to speed things up quite a bit. I hope in the future MS will patch this in order to make administration a little more manageable.
 
Hmmmmmmmm..... probably because if you had read my post above you would realize that I had already followed those steps precisely and that the article still does not resolve the issue of only being able to find and then remove 10,000 messages at a time. Which, in fact, was my original concern to begin with.

Although I do appreciate the input, the condecending manner in which is was provided is not nessecary.

For everyone else viewing this I apologize in advance for my tone.
 
Didn't mean to be condescending... I did mean that you could forward to a non-existant smarthost instead of yanking the network cable. From the article:

In Exchange System Manager, click SmallBusiness SMTP Connector under Connectors. This phase requires an SMTP connector. If the Exchange server does not have an SMTP connector, create one. To do this, follow these steps:
Right-click Connectors, click New, and then click SMTP Connector.
On the General tab, type a temporary name (Temp Connector, for example) in the Name box.
Click Add at the bottom, select the server name and its associated SMTP Virtual Server, and then click OK.
Click Address Space.
Click Add, click SMTP, and then click OK.
In the Internet Address Space Properties dialog box, leave the default settings (E-mail domain * and Cost 1), and then click OK.
Click the General tab, and then go to step 4.
Right-click SmallBusiness SMTP Connector, and then click Properties. If you have more than one SMTP Connector, the one that you want to work with in the following steps is the one that contains the "*" (asterisk) for the SMTP address on the Address Space tab.


Click the General tab. Make a note of all the settings on this tab. You have to return these settings later in this article.
Click Forward all mail through this connector to the following smart hosts.
In the field provided, type a false IP address and enclose it in brackets. For example, type [99.99.99.99].
Click the Deliver Options tab .
Click Specify when messages are sent through this connector.
In the Connection Time list, click Run daily at 11:00 PM.
Click OK to close the SMTP Connector Properties dialog box.
Expand Servers, expand Servername, expand Protocols, expand SMTP. Right-click the Default SMTP Virtual Server, and then click Stop.
It may take several minutes for the SMTP Virtual Server to stop. After the Default SMTP Virtual Server has stopped, right-click the Default SMTP Virtual Server again, and then click Start. It may take several minutes for the Default SMTP Virtual Server to start.
After the Default SMTP Virtual Server has started, wait about 10 minutes.

Now the Default SMTP Virtual Server can re-enumerate the messages and put them in a single queue for the SmallBusiness SMTP Connector or for the one that you named when you created it in step 1.b.
After about 10 minutes, expand Default SMTP Virtual Server, and then click Queues.
Note the total number of messages on the right next to the Small Business SMTP Connector.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top