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

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!
computersightsAsked:
Who is Participating?
 
SembeeConnect With a Mentor Commented:
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
 
Dave StringfellowIT managerCommented:
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
 
computersightsAuthor Commented:
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
 
computersightsAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.