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

how do i clean my exchange server smtp queue.

Posted on 2007-11-25
Last Modified: 2013-11-30
my exchange server is suffering from critical status, since a week. mails are getting block in queue.
smtp queue are in huge. please anybody guide us how to clean these smtp queues.

Our Problem in mail server is that , we are receiving mails from same source our own domain source address.
eq.< it_mail@ourDomainName.com.sa,> and this mail receiving in thousands per minutes.
Please help  to find out this solution, our exchange server fall under critical status most of the time
Please Help us to come above this problem with precaution and prevention,  for protection our server.

Question by:alfadhel

Accepted Solution

mikemsd earned 500 total points
ID: 20348761
You can follow this procedure from Microsoft to delete messages from the queues within Exchange:

LVL 104

Expert Comment

ID: 20349052
Rather than trying to deal with the queues, you need to look at the core problem.
If you are receiving lots of messages to users who do not exist at your server then you are under an NDR or directory harvest attack. You should configure recipient filtering http://www.amset.info/exchange/filter-unknown.asp and then restart the SMTP Server service, which will stop new messages coming in.

You may also want to look at my spam cleanup guide here: http://www.amset.info/exchange/spam-cleanup.asp


Expert Comment

ID: 20349902
I wanted to see why you rated me a C on this question. The link I provided was a detailed explanation of how to clean your SMTP queues.
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


Expert Comment

ID: 20355145

Can you please explain why you have given the grade given.  I have reviewed the question and agree with the expert that a higher grade should be given.

If no response, I will handle the experts request and increase the grade.


EE Admin

Author Comment

ID: 20355905
First of all thanks for your help

In your solution in third step
•Right-click the queue that you want to modify, and then click Freeze to freeze the queue.

You can't freeze all queue
I was have problem with messages queued for deferred delivery with 86000 mails stuck!!!
If you Right-click on this queue you will find Freeze option disable
And with huge number like this if click find will teak so long time to find messages and forget to delete these messages
Your server will hang without respond!!

These solutions OK with small number of messages lees than one thousand

What I do to solve this problem is

•Stop all exchange services
•Go to SMTP-Queue folder in my server
•Select all messages and delete

This better and faster for thousand of mail as I see
Thanks in advance

Expert Comment

ID: 20357800
Instead of rating me a C, I would have appreciated if you instead let me know that what I recommended did not work, that way I would have had an opportunity to suggest an alternative method. A C rating is usually reserved for an expert that fails to respond to communication after providing the initial answer. It is the lowest rating possible.

Author Comment

ID: 20363550
Dear Mikemsd,

I am sorry I wasn't mean to give bad picture about your knowledge
Any way how I can change this grade


Expert Comment

ID: 20414421
Grade changed to B.

Experts Exchange Moderator

Author Comment

ID: 20433298


Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

828 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