How to delete SMTP connectors stuck in the queue for more than 10 days

Posted on 2004-07-30
Medium Priority
Last Modified: 2011-04-06
I am using Exchange server 2003 with SBS 2003. Open relay is disabled.
My problem is,  at exchange server management console, under QUEUE there are many different domain SMTP connectors. All these connectors are at RETRY state.  I am trying to delete messages in each queue. I can only delete messages with a SENDER field. The "Delete with no NDR" is disabled.

And also most of those message that show SENDER information are from postmaster@"my domain".  

In window explorer, \exchsrvr\mailroot\vs1\queue folder is empty, \exchsrvr\mailroot\vs1\badmail folder is always filled with a lot of mails.

I'v been searching for solution for a while and just couldn't figure our what the problem is. Any help is greatly appreciated!

Question by:lutt
  • 2
LVL 104

Expert Comment

ID: 11685679
postmaster@ are bounced email messages. Probably because the user doesn't exist. Almost certainly spam.

There are two things that you can do.
1. If you install SP1 for Exchange then the use of badmail is disabled by default. You have to do a registry hack to turn it back on. Personally I don't bother.

2. In Exchange there is the facility to drop emails sent to email address that aren't in your AD. This will wipe out a lot of spam messages. The messages are dropped at the SMTP communication level so they aren't even delivered to your system. If a legitimate user has misspelt an email address then they will get an email telling them that the user is unknown.
Enable this feature in ESM, Global Settings, Message Delivery. Right click and choose Properties. Click on Recipient Filtering and enable the feature.
Then on the SMTP virtual server (Admin Groups, <your admin group>, Servers, <your server>, Protocols, SMTP), right click, choose Properties. On the first tab click advanced, then edit. Enable "Apply Recipient Filter". Apply/OK out.


Author Comment

ID: 11710674
Hi Simon,

Thanks for your reply. Right now the problem is how to delete those SMTP connectors under ESM, Admin Groups, <my admin group>, Servers, <my server>, Queues.  All those connectors contain emails without SENDER information and I cannot delete them. Those are more than 10 days old.

LVL 104

Accepted Solution

Sembee earned 2000 total points
ID: 11714222
Take a look at this article from Microsoft. It explains how to clean up the SMTP queues. While it is written for SBS it applies to standard Exchange as well.



Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

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.

Join & Write a Comment

In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
In my humble opinion (IMHO), TouchDown from Symantec is the best in class for this type of application, but Symantec has end-of-lifed it and although one can keep using it, it will no longer be supported or upgraded.  Time to look for alternatives t…
how to add IIS SMTP to handle application/Scanner relays into office 365.
To export Lotus Notes to Outlook PST or Exchange and Domino Server files to Exchange Server or PST files with ease, go for Kernel for Lotus Notes to Outlook conversion tool. Through the video, you can watch the conversion process. A common user with…

624 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