IIS SMTP problems with queue and mail sent by CDO.Message

Hello there,

The first I heard about the problems we're experiencing, was when somebody contacted me about emails that were not getting through.  People were receiving a "Delivery Failure Report" that said "Delivery to the following recipients has been delayed".

The first thing I did was have a look at the SMTP queue on our server and to my suprise there was five days worth of email in the queue that hadn't been sent.

I also checked the event viewer and found 1000's of SMTPSVC warnings that read:

Message delivery to the host '<ip address>' failed while delivering to the remote domain '<domain name>' for the following reason: The remote server did not respond to a connection attempt.

Any idea what the problem could be?

Many thanks,
Dave.
tidydaveAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
meverestConnect With a Mentor Commented:
you've probably been blocked by a firewall or isp.

check that you have smtp connectivity to the server/s listed in the event log.

for example, where it says "Message delivery to the host '<ip address>' failed " enter:

telnet <ip address> 25

at a command shell.  you should see the banner of the remote server if all is ok.  if not, you will see a connection failed message.

if you see the latter (i suspect that you will) then you need to find out what firewall is blosking you out.  maybe you corporate lan, or maybe your isp (if they think that you are spamming)  also, many dsl isps trace the number of smtp connections going out of each connection.  if it reaches some limit (maybe 100 in an hour) they automatically block that port.  now 100 an hour might be reasonably indicative of spam activity for an average domestic service, but for a business operation, 100 is not many at all.... maybe there something like that going on?

cheers,  Mike.
0
 
SweatCoderConnect With a Mentor Commented:
make sure you have the correct, fully-qualified mail server name in SmartHost under Advanced in SMTP properties, and uncheck "attempt direct delivery first".

and as a test, run this from command prompt:

telnet yourprefix.yourmailserver.com 110  (and see if it connects)
0
 
sbennettsCommented:
I've seen something similar when the permissions are changed on the mail directory in the wwwroot folder.  Not sure if it'll help here, but worth a look.
Simon
0
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

 
tidydaveAuthor Commented:
Thanks Guys, it is was a problem with the firewall and not having a smarthost mail server setup.

Now I'm forwarding my mail (using smarthost) to a mail server that is allowed through the firewall.  

And a queue of 1890 items is now 0 :-)
0
 
jevindmeCommented:
The remote server did not respond to a connection attempt....

 http://support.microsoft.com/support/misc/kblookup.asp?ID=827363
0
 
jevindmeCommented:
0
 
benc007Commented:
Tidydave,

How did you get around the firewall problem and forward your mail (using smarthost)?  




---------------

Thanks Guys, it is was a problem with the firewall and not having a smarthost mail server setup.

Now I'm forwarding my mail (using smarthost) to a mail server that is allowed through the firewall.  

And a queue of 1890 items is now 0 :-)
0
 
jevindmeCommented:
What did you with the Firewall ??

Open ports 25, 110 or something else...
0
 
epaschalCommented:
I had this same issue. Almost all of our mail was in queue to popular domains like aol.com, hotmail.com, etc.

The eliminate the immedeate problem, I used a smarthost to relay our mail for us. That got the mail out of queue, but didn't solve why WE couldn't send our own mail out (instead of going through a third party).

When I tried to connect to AOL manually, I received this message:
220-rly-ye01.mx.aol.com ESMTP mail_relay_in-ye1.7; Sun, 06 Jun 2004 20:38:23 -04
00
220-America Online (AOL) and its affiliated companies do not
220-     authorize the use of its proprietary computers and computer
220-     networks to accept, transmit, or distribute unsolicited bulk
220-     e-mail sent from the internet.  Effective immediately:  AOL
220-     may no longer accept connections from IP addresses which
220      have no reverse-DNS (PTR record) assigned.

I'm guessing that our failure to connect was possibly a result of this "no reverse-DNS PTR Record" item. I have no idea how to get a PTR record established for the IP we sent mail from though...
0
 
sattleseyCommented:
I had the same problem and the resolution was to make sure my PTR and MX records were published properly.  epaschal, contact your ISP and they should be able to get the PTR published properly.

Scott
0
 
FrankTaylor617Commented:
After upgrading from Exchange 2000 to 2003, I also had the problem with AOL, Yahoo, etc sticking in the Queue.  I resolved the problem by making sure that under Default SMTP Virtual Server Properties - Delivery Tab - Advanced - Configure External DNS servers, I  Added our ISP's DNS server addresses in here. Once I did that all of the emails went through after that.  
-- Frank
0
 
benc007Commented:
I am using IIS 2000.  I am under Default SMTP Virtual Server Properties - Delivery Tab - Advanced.

But I do NOT have a "Configure External DNS servers" tab!!

Please help.
0
 
benc007Commented:
FrankTaylor617,

Can you help?  I am having the same problem and need to figure out a solution asap.  You can also contact me directly at {{email address removed for member's protection - 3-Aug-05 --alimu/Page Editor IIS}}

I appreciate your help.  Thank you in advance.

0
 
rholtonCommented:
You might trying calling your ISP. If it is SBC you will want to ask for 2nd teir support and unblock port 25 on your system. You will need to reboot your router or reset

Thanks,

Rich
0
 
benc007Commented:
Rich,

What is port 25 used for?  Will SBC unblock this port?

I am currently not using SBC to send emails ...

I believe my problem is similar to FrankTaylor617 but I am using IIS 2000.  The problem is that under Default SMTP Virtual Server Properties - Delivery Tab - Advanced, there isn't a Configure External DNS servers button.
0
 
rholtonCommented:
Port 25 is for smtp (Simple Mail Transfer Protocal)

Call them or log into help.sbcglobal.net .

There is a form to fill out and they will unblock it. Everything will just go back to working. Very Bizare.

Thanks,

Rich
0
 
benc007Commented:
Were you using CDONTS and SMTP Virutal Server?  What platform?
0
 
rholtonCommented:
SMTP Virtual Server
0
 
mfu2305Commented:
I just dealt with this problem and it was a result of not having our PTR record setup properly. Our ISP didnt have our reverse DNS setup in the PTR record. and as I found out, some mail servers dont accept connections from servers if they cant lookup their DNS name, such as some AOL servers, gmail, and others.

newbie

{{email address removed for member's protection - 3-Aug-05 --alimu/Page Editor IIS}}
0
 
rholtonCommented:
I think my problem is only with SBC. Sbc started blocking port 25 accross thier network.
0
 
benc007Commented:
Do you know what RBLs are?
0
 
rholtonCommented:
NO, sorry.
0
 
meverestCommented:
guys - this question is closed.  you may want to open a new thread to start a new discussion.

Cheers.
0
All Courses

From novice to tech pro — start learning today.