Solved

Flushing the mail que - Relaying appears to be off, but still having problems - 1200+ items in the que.

Posted on 2007-11-29
4
1,183 Views
Last Modified: 2012-08-13
I've done the basics for making sure that relaying is turned off, but the que still is filling up with NDR attacks (postmaster@*domain*.com...what is the command line used to flush the que all at once?  I can't seem to remember or find it anywhere!
0
Comment
Question by:computersights
  • 2
4 Comments
 
LVL 15

Expert Comment

by:Dave_AND
ID: 20376417
You can turn off NDRs if you want..


Open up ESM, Global Settings, Internet Message Formats

Right Click Default to access it's properties.

The Advanced Tab is where you find the options to send or stop Delivery Reports



the fastest way to clear them all that i know of is: forward all the emails thru a smart host then once they queue up to go thru that, you can cancel all without NDR.
0
 

Author Comment

by:computersights
ID: 20376462
I actually found a resolution.  To flush the que quickly: ftp://ftp.microsoft.com/pss/Tools/   

Then go in to the folders: Exchange Support Tools / Aqadmcli
(Due to the use of spaces in the folder names, a direct link isn't possible)

After downloading the utility use the following command to clear all the queues:
type at the ">" delmsg flags=all

0
 
LVL 104

Accepted Solution

by:
Sembee earned 325 total points
ID: 20376490
Turning off NDRs is not something I would advise. That just hides the problem rather than dealing with the underlying cause.

Credit for the command that you found would be nice.
It came from my spam cleanup article: http://www.amset.info/exchange/spam-cleanup.asp

postmaster@ is usually ndr spam and is best dealt with by enabling recipient filtering.

Simon.
0
 

Author Comment

by:computersights
ID: 20385031
Sorry Simon...I am sorry for that.  I was in a rush to fix the problem...1260 items were in que and growing!  I will say I found it in other locations, but the look of the copy and paste, it was from your initial posting.

I never turn of NDR's, as I rely on them for warnings that something may be wrong with the server
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

831 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