Solved

Why all the messages in C:\Inetpub\mailroot\Queue?

Posted on 2007-11-15
5
6,976 Views
Last Modified: 2010-04-21
I am running Windows server 2003 sp2 and using the IIS- SMTP service to send email.  Last time we sent out emails it's was around 30000 and for some reason 6800 of those are stuck in the C:\Inetpub\mailroot\Queue folder.  How do i figure out why those got stuck in this folder, how do i get them sent out, and how can i prevent this from happening in the future?
0
Comment
Question by:jjones2002
[X]
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
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:chafer
ID: 20290359
Here is one possibility.  When mail ends up in the badmail queue, it means that it was undeliverable to a recepient in your domain, but notice could also not be sent back to the sender.  If you are sending 30,000 e-mails and it is not a carefully vetted list, you may have a lot of bad addresses.  Some of these servers will then send notice back to you.  Many people sending out to a large list use an address for sending that will not receive a reply.  If this is the case, these non-delivery notices will return to your domain, but will have nowhere to go, thus they end up in the badmail queues.
0
 

Author Comment

by:jjones2002
ID: 20290553
HI - thanks for the comment - I agree that we should get some bouncebacks, but not 1/5 of the emails we send out.  That seems way too high a number, especially since these are customers who have signed up with us and put in their own correct email addresses.
I'm wondering whether it's an issue with the email address we are sending these from.
This server is not located on our LAN and has a different ip address than that of the mail server associated with the email address that all these 30000 emails come from.
Should email you are sending come from the domain associated with the ip address of that server in DNS records?
0
 
LVL 7

Accepted Solution

by:
chafer earned 125 total points
ID: 20290684
Your sending server could be a problem.  For example, if it has no reverse DNS record, all the large ISPs will reject your e-mail and you'll end up with a lot of bounce backs.  As to sending from a different domain, technically this is not a violation of the rules for DNS.  However, many ISPs block e-mail for this reason even though it is technically valid.
Another possibility is that if the server being used for sending is sending a lot of other people's e-mail as well, the IP address could be blacklisted.  Even though it is not your specific e-mail causing it, the fact that the address is blacklisted can cause a lot of bouncebacks.  Whatever the reason, it rally does sound like the root cause is undeliverable bouncebacks.
0
 

Author Comment

by:jjones2002
ID: 20291782
Ok - so i setup an mx record for the domain that the points to the server that is sending the emails and i changed the fqdn in the Delivery properties for the sending smtp server to reflect that mx record.  Was that the right thing to do?  Should i put the domain only there?
I don't see the queue shrinking at all though - how do i get those emails that are stuck sent out?

We are also setting up a reverse DNS entry - is that the right thing to do in this case?
0
 

Author Closing Comment

by:jjones2002
ID: 31428150
After implementing a reverse DNS record our bounce backs dropped by a large percentage, we do still get bounce backs caused by sending email from a email address that is associated with a different server than the one sending.
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Import PST to Exchange using Power Shell new-mailboximportrequest command, you can simply import the PST file into Exchange mailbox or archived. To know How to import PST into Exchange  2013 read the complete article.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

623 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