IIS and SMTP - Suddenly unable to relay; stuck in Queue; unable to connect

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > February 2006 > Suddenly unable to relay; stuck in Queue; unable to connect





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Suddenly unable to relay; stuck in Queue; unable to connect
Trevor

2006-01-30, 5:56 pm

microsoft.public.inetserver.iis.smtp_nntp


Suddenly unable to relay; stuck in Queue; unable to connect


I've been reading in here like crazy, without finding a solution. While my
web server reboots, I'll post. What am I missing? Here's my configuration:

- Windows 2000 Advanced Server SP4 at dedicated hosting with SBC

- 2 NICs

- ASP web site using CDO for e-mail (not CDONTS)

- mail has been successfully relaying to an in-office Exchange server across
the internet for years. Several weeks ago, it suddenly stopped. All mail
is now stuck in c:\inetpub\mailroot\queue.

- server can browse the internet, and whatismyip.com reports 216.173.225.15
(as expected)

- IIS has SMTP Mail Server set to 10.1.1.10 on port 25

- first NIC has static IP of 10.1.1.10, and a default gateway of 10.1.1.1
specified.

- second NIC has static IP of 172.27.1.68, and NO gateway specified (is this
a problem?)

- SMTP virtual servers are:
o <MachineName>: type is Local (default), Drop directory is
c:\inetpub\mailroot\Drop (which exists and is accessible to Everyone)
o ct.org: type is Remote, SmartHost is 204.60.85.242

- in queue and badmail, I do messages with the following errors: "Unable to
deliver message to the following recipients, due to being unable to connect
successfully to the destination mail server." (the destination adress is
valid)

- nslookup 204.60.85.242 reveals the following, which I think means that
everything is fine:
dns1.dal.sbcidc.com
216.65.193.35
ctmail.ct.org
204.60.85.242

- I am told by the in-office administrator that Exchange server allows
relays from 216.173.225.15, and ISA Server at that location is set to allow
the traffic, too.

- from a DOS prompt, telnet 204.60.85.242 25 reports: "220
ctcmail.ctdomain.org Microsoft ESMTP Mail Service, Version: 6.0.3790.0 ready
at Mon , 30 Jan 2006 10:15:37 -05:00" but I get a cursor which does not
respond to any keyboard input (not even Ctrl-C)

- I turned on SMTP logging last week. It doesn't seem to have any recent
information in it; I don't understand why it lags so much. Also, why would
I ever see this server trying to send some mail "from" inkmore.com? Maybe
this is an indication of an MX record problem?
#Software: Microsoft Internet Information Services 5.0
#Version: 1.0
#Date: 2006-01-29 07:48:18
#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
cs-method sc-status sc-bytes cs-host cs(User-Agent)
2006-01-29 07:48:18 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 07:48:18 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 08:17:56 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 08:17:56 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 08:47:42 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 08:47:42 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 09:17:31 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 09:17:31 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 09:47:43 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 09:47:43 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 10:18:52 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 10:18:52 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 HELO 250 37 - -
2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 MAIL 250 35 - -
2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 RCPT 250 26 - -
2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 DATA 250 126 - -
2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 QUIT 240 62 - -
2006-01-29 16:20:30 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 16:20:30 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 16:51:00 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 16:51:00 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 17:50:25 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 17:50:25 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 18:20:18 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 18:20:18 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 18:22:11 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
10.1.1.10 0 EHLO 250 244 - -
2006-01-29 18:22:11 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
10.1.1.10 0 MAIL 250 47 - -
2006-01-29 18:22:13 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
10.1.1.10 0 RCPT 250 29 - -
2006-01-29 18:22:16 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
10.1.1.10 0 DATA 250 126 - -
2006-01-29 18:22:16 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
10.1.1.10 0 QUIT 240 62 - -
2006-01-29 18:50:34 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 18:50:34 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -
2006-01-29 19:34:58 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 EHLO 250 247 - -
2006-01-29 19:35:00 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 MAIL 250 41 - -
2006-01-29 19:35:00 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 RCPT 250 28 - -
2006-01-29 19:45:15 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 TIMEOUT 121 84 - -
2006-01-29 19:45:15 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
0 QUIT 240 84 - -
2006-01-29 19:51:08 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
501 27 - -
2006-01-29 19:51:08 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
240 27 - -

- DNS Lookup (from dnsstuff.com) for MX records reports:
How I am searching:
Searching for ct.org MX record at b.root-servers.net [192.228.79.201]: Got
referral to TLD5.ULTRADNS.INFO. [took 96 ms]
Searching for ct.org MX record at TLD5.ULTRADNS.INFO. [192.100.59.11]: Got
referral to ns1.snet.net. [took 8 ms]
Searching for ct.org MX record at ns1.snet.net. [204.60.0.2]: Reports
cluster2a.us.messagelabs.com. [took 15 ms]

Answer:
Domain Type Class TTL Answer
ct.org. MX IN 7200 cluster2a.us.messagelabs.com. [Preference = 20]
ct.org. MX IN 7200 cluster2.us.messagelabs.com. [Preference = 10]
ct.org. NS IN 172800 ns1.snet.net.
ct.org. NS IN 172800 ns2.snet.net.
cluster2a.us.messagelabs.com. A IN 752 216.82.250.3
cluster2a.us.messagelabs.com. A IN 752 216.82.250.147
cluster2a.us.messagelabs.com. A IN 752 216.82.255.51
cluster2a.us.messagelabs.com. A IN 752 216.82.255.67
cluster2a.us.messagelabs.com. A IN 752 216.82.240.35
cluster2a.us.messagelabs.com. A IN 752 216.82.240.51
cluster2a.us.messagelabs.com. A IN 752 216.82.240.83
cluster2a.us.messagelabs.com. A IN 752 216.82.240.115
cluster2a.us.messagelabs.com. A IN 752 216.82.244.35
cluster2a.us.messagelabs.com. A IN 752 216.82.244.83
cluster2a.us.messagelabs.com. A IN 752 216.82.244.99
cluster2a.us.messagelabs.com. A IN 752 216.82.244.131
cluster2a.us.messagelabs.com. A IN 752 216.82.249.3
cluster2a.us.messagelabs.com. A IN 752 216.82.249.211
ns1.snet.net. A IN 7200 204.60.0.2
ns2.snet.net. A IN 7200 204.60.0.3


Why isn't the e-mail going out?!?!?!? Where did this inkmore.com e-mail
come from?!?!?!?


Jeff Cochran

2006-01-30, 8:49 pm

What does a NSLOOKUP from the server for the destination show as the
MX record for the destination? Have you checked the SMTP logs on the
destination to see if you're even getting a connection?

Jeff


On Mon, 30 Jan 2006 10:34:33 -0500, "Trevor" <tsides @
intelligentsystemsconsulting.com> wrote:

>microsoft.public.inetserver.iis.smtp_nntp
>
>
>Suddenly unable to relay; stuck in Queue; unable to connect
>
>
>I've been reading in here like crazy, without finding a solution. While my
>web server reboots, I'll post. What am I missing? Here's my configuration:
>
>- Windows 2000 Advanced Server SP4 at dedicated hosting with SBC
>
>- 2 NICs
>
>- ASP web site using CDO for e-mail (not CDONTS)
>
>- mail has been successfully relaying to an in-office Exchange server across
>the internet for years. Several weeks ago, it suddenly stopped. All mail
>is now stuck in c:\inetpub\mailroot\queue.
>
>- server can browse the internet, and whatismyip.com reports 216.173.225.15
>(as expected)
>
>- IIS has SMTP Mail Server set to 10.1.1.10 on port 25
>
>- first NIC has static IP of 10.1.1.10, and a default gateway of 10.1.1.1
>specified.
>
>- second NIC has static IP of 172.27.1.68, and NO gateway specified (is this
>a problem?)
>
>- SMTP virtual servers are:
> o <MachineName>: type is Local (default), Drop directory is
>c:\inetpub\mailroot\Drop (which exists and is accessible to Everyone)
> o ct.org: type is Remote, SmartHost is 204.60.85.242
>
>- in queue and badmail, I do messages with the following errors: "Unable to
>deliver message to the following recipients, due to being unable to connect
>successfully to the destination mail server." (the destination adress is
>valid)
>
>- nslookup 204.60.85.242 reveals the following, which I think means that
>everything is fine:
> dns1.dal.sbcidc.com
> 216.65.193.35
> ctmail.ct.org
> 204.60.85.242
>
>- I am told by the in-office administrator that Exchange server allows
>relays from 216.173.225.15, and ISA Server at that location is set to allow
>the traffic, too.
>
>- from a DOS prompt, telnet 204.60.85.242 25 reports: "220
>ctcmail.ctdomain.org Microsoft ESMTP Mail Service, Version: 6.0.3790.0 ready
>at Mon , 30 Jan 2006 10:15:37 -05:00" but I get a cursor which does not
>respond to any keyboard input (not even Ctrl-C)
>
>- I turned on SMTP logging last week. It doesn't seem to have any recent
>information in it; I don't understand why it lags so much. Also, why would
>I ever see this server trying to send some mail "from" inkmore.com? Maybe
>this is an indication of an MX record problem?
>#Software: Microsoft Internet Information Services 5.0
>#Version: 1.0
>#Date: 2006-01-29 07:48:18
>#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
>cs-method sc-status sc-bytes cs-host cs(User-Agent)
>2006-01-29 07:48:18 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 07:48:18 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 08:17:56 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 08:17:56 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 08:47:42 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 08:47:42 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 09:17:31 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 09:17:31 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 09:47:43 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 09:47:43 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 10:18:52 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 10:18:52 80.230.120.86 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 HELO 250 37 - -
>2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 MAIL 250 35 - -
>2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 RCPT 250 26 - -
>2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 DATA 250 126 - -
>2006-01-29 12:31:43 10.1.1.10 das54-DAL-SBC SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 QUIT 240 62 - -
>2006-01-29 16:20:30 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 16:20:30 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 16:51:00 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 16:51:00 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 17:50:25 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 17:50:25 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 18:20:18 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 18:20:18 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 18:22:11 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
>10.1.1.10 0 EHLO 250 244 - -
>2006-01-29 18:22:11 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
>10.1.1.10 0 MAIL 250 47 - -
>2006-01-29 18:22:13 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
>10.1.1.10 0 RCPT 250 29 - -
>2006-01-29 18:22:16 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
>10.1.1.10 0 DATA 250 126 - -
>2006-01-29 18:22:16 218.73.98.58 inkmore.com SMTPSVC1 DAS54-DAL-SBC
>10.1.1.10 0 QUIT 240 62 - -
>2006-01-29 18:50:34 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 18:50:34 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>2006-01-29 19:34:58 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 EHLO 250 247 - -
>2006-01-29 19:35:00 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 MAIL 250 41 - -
>2006-01-29 19:35:00 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 RCPT 250 28 - -
>2006-01-29 19:45:15 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 TIMEOUT 121 84 - -
>2006-01-29 19:45:15 201.250.120.165 friend SMTPSVC1 DAS54-DAL-SBC 10.1.1.10
>0 QUIT 240 84 - -
>2006-01-29 19:51:08 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 HELO
>501 27 - -
>2006-01-29 19:51:08 84.228.225.138 - SMTPSVC1 DAS54-DAL-SBC 10.1.1.10 0 QUIT
>240 27 - -
>
>- DNS Lookup (from dnsstuff.com) for MX records reports:
>How I am searching:
>Searching for ct.org MX record at b.root-servers.net [192.228.79.201]: Got
>referral to TLD5.ULTRADNS.INFO. [took 96 ms]
>Searching for ct.org MX record at TLD5.ULTRADNS.INFO. [192.100.59.11]: Got
>referral to ns1.snet.net. [took 8 ms]
>Searching for ct.org MX record at ns1.snet.net. [204.60.0.2]: Reports
>cluster2a.us.messagelabs.com. [took 15 ms]
>
>Answer:
>Domain Type Class TTL Answer
>ct.org. MX IN 7200 cluster2a.us.messagelabs.com. [Preference = 20]
>ct.org. MX IN 7200 cluster2.us.messagelabs.com. [Preference = 10]
>ct.org. NS IN 172800 ns1.snet.net.
>ct.org. NS IN 172800 ns2.snet.net.
>cluster2a.us.messagelabs.com. A IN 752 216.82.250.3
>cluster2a.us.messagelabs.com. A IN 752 216.82.250.147
>cluster2a.us.messagelabs.com. A IN 752 216.82.255.51
>cluster2a.us.messagelabs.com. A IN 752 216.82.255.67
>cluster2a.us.messagelabs.com. A IN 752 216.82.240.35
>cluster2a.us.messagelabs.com. A IN 752 216.82.240.51
>cluster2a.us.messagelabs.com. A IN 752 216.82.240.83
>cluster2a.us.messagelabs.com. A IN 752 216.82.240.115
>cluster2a.us.messagelabs.com. A IN 752 216.82.244.35
>cluster2a.us.messagelabs.com. A IN 752 216.82.244.83
>cluster2a.us.messagelabs.com. A IN 752 216.82.244.99
>cluster2a.us.messagelabs.com. A IN 752 216.82.244.131
>cluster2a.us.messagelabs.com. A IN 752 216.82.249.3
>cluster2a.us.messagelabs.com. A IN 752 216.82.249.211
>ns1.snet.net. A IN 7200 204.60.0.2
>ns2.snet.net. A IN 7200 204.60.0.3
>
>
>Why isn't the e-mail going out?!?!?!? Where did this inkmore.com e-mail
>come from?!?!?!?
>


Trevor

2006-02-01, 6:02 pm

I abandoned it.

I skipped the whole relay thing and coded the site to connect directly to
the mail server, instead. I used the code from Microsoft:
http://msdn.microsoft.com/library/d... cdosys_vbs.asp




"Jeff Cochran" <jeff.nospam@zina.com> wrote in message
news:43e3a75a.211185359@msnews.microsoft.com...
> What does a NSLOOKUP from the server for the destination show as the
> MX record for the destination? Have you checked the SMTP logs on the
> destination to see if you're even getting a connection?
>
> Jeff
>
>
> On Mon, 30 Jan 2006 10:34:33 -0500, "Trevor" <tsides @
> intelligentsystemsconsulting.com> wrote:
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com