|
Home > Archive > IIS and SMTP > May 2004 > SMTP is running but messages are not going out
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 |
SMTP is running but messages are not going out
|
|
| Darth Vadder 2004-04-27, 11:35 am |
| Hi,
We have an IIS server with SMTP running. It is sending e-mails only to those within our network (within the same domain) but is not reaching externail e-mail addresses. All emails ending with .gov are being delivered, but for some reason, any email addres
s ending with .com, .org, .edu... is being rejected. I then get a NDR with the code #5.0.0 saying the following: "Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server."
Any ideas what could be causing this?
| |
| Kristofer Gafvert 2004-04-27, 2:35 pm |
| Hello,
Can you please open the EventLog, and see if it has some more information
for us. It usually logs there why it cannot send to a remote host.
Please also do this, and tell me where it fails:
On the SMTP server, do this:
Open a cmd prompt.
Type
nslookup ENTER
--- INFO ---
You should get something like:
Default server: name.com
Address: 123.123.123.123
--- END INFO ---
set type=mx ENTER
remoteDomain.com ENTER
--- INFO ---
This should give you information about the remote domain, including MX
records.
--- END INFO ---
exit ENTER
telnet mx-remoteDomain.com 25
--- INFO ---
You should not get an empty window
--- END INFO ---
ehlo yourhost ENTER
--- INFO ---
If it drops the connection, try another telnet connection, but this time
write:
--- END INFO ---
helo yourhost ENTER
- remoteDomain.com is the remote domain you are trying to send email to, but
fails.
- mx-remoteDomain.com is the MX record for the domain you are trying to send
to. If more than one exists, and the first one drops the connection, try the
other ones.
- yourhost is your hostname.
- ENTER means press the enter button on the keyboard.
So, what did we do? We first verified that the SMTP server can lookup the
domain. If this works, we then tried to get a connection to the remote
domain. If this works, then please look in the Event Log. It should tell you
more about the problem. If something failed on the way, we know if it is
related to DNS, or connection.
--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!
"Darth Vadder" <anonymous@discussions.microsoft.com> wrote in message
news:F8FCC185-E9E7-4163-9199-B52049BC7EA2@microsoft.com...
> Hi,
>
> We have an IIS server with SMTP running. It is sending e-mails only to
those within our network (within the same domain) but is not reaching
externail e-mail addresses. All emails ending with .gov are being delivered,
but for some reason, any email address ending with .com, .org, .edu... is
being rejected. I then get a NDR with the code #5.0.0 saying the following:
"Unable to deliver message to the following recipients, due to being unable
to connect successfully to the destination mail server."
>
> Any ideas what could be causing this?
>
| |
| Arjen Steur 2004-04-28, 11:35 am |
| Hello,
I've got the same problem and I tried your hints,
He gives me the following message on trying: telnet mx-remoteDomain.com 25
Connecting to mx-degroefaudio.nl...Could not open connection to the
host, on port 25: Connect failed.
What is the reason for this
Greets
Kristofer Gafvert wrote:
> Hello,
>
> Can you please open the EventLog, and see if it has some more information
> for us. It usually logs there why it cannot send to a remote host.
>
> Please also do this, and tell me where it fails:
>
> On the SMTP server, do this:
>
> Open a cmd prompt.
> Type
>
> nslookup ENTER
>
> --- INFO ---
> You should get something like:
> Default server: name.com
> Address: 123.123.123.123
> --- END INFO ---
>
> set type=mx ENTER
> remoteDomain.com ENTER
>
> --- INFO ---
> This should give you information about the remote domain, including MX
> records.
> --- END INFO ---
>
> exit ENTER
> telnet mx-remoteDomain.com 25
>
> --- INFO ---
> You should not get an empty window
> --- END INFO ---
>
> ehlo yourhost ENTER
>
> --- INFO ---
> If it drops the connection, try another telnet connection, but this time
> write:
> --- END INFO ---
>
> helo yourhost ENTER
>
>
> - remoteDomain.com is the remote domain you are trying to send email to, but
> fails.
> - mx-remoteDomain.com is the MX record for the domain you are trying to send
> to. If more than one exists, and the first one drops the connection, try the
> other ones.
> - yourhost is your hostname.
> - ENTER means press the enter button on the keyboard.
>
> So, what did we do? We first verified that the SMTP server can lookup the
> domain. If this works, we then tried to get a connection to the remote
> domain. If this works, then please look in the Event Log. It should tell you
> more about the problem. If something failed on the way, we know if it is
> related to DNS, or connection.
>
| |
| Kristofer Gafvert 2004-04-28, 11:35 am |
| I think that you misunderstood some instructions.
The mail-exchanger is mail.degroefaudio.nl
--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!
"Arjen Steur" <a.steur@dijkoraad-hawar.nl> wrote in message
news:u85eVPTLEHA.3300@TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]
> Hello,
>
> I've got the same problem and I tried your hints,
>
> He gives me the following message on trying: telnet mx-remoteDomain.com 25
>
> Connecting to mx-degroefaudio.nl...Could not open connection to the
> host, on port 25: Connect failed.
>
> What is the reason for this
>
> Greets
>
> Kristofer Gafvert wrote:
information[vbcol=seagreen]
but[vbcol=seagreen]
send[vbcol=seagreen]
the[vbcol=seagreen]
the[vbcol=seagreen]
you[vbcol=seagreen]
| |
| Darth Vadder 2004-05-06, 2:37 pm |
| Thank you Kristofer, I'll try your suggestions right away. I'm kind of new to Windows 2000 and I know little about networking, but still my boss insists to have me solve this, and since he's signing my checks there's not much left for me to do...
BTW, here is a copy of the NDR I get everytime someting is not delivered...
Your message did not reach some or all of the intended recipients.
-------------------------------------------------------------------------------------
Subject: TEST
Sent: 4/27/2004 10:39 AM
The following recipient(s) could not be reached:
someaddress@hotmail.com on 4/27/2004 10:39 AM
The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.
<myserver.mynetwork.com #5.0.0>
------------------------------------------------------------------------------------
| |
| Darth Vadder 2004-05-11, 5:42 pm |
| Hi Krisfoter, thanks for your help.
When I try your suggestions, everyting works untill I have to to set up the TELNET connection to the remote domain. Here I explain:
1) nslookup <ENTER>
------RESULTS I GET-------------
Default Server: servername.domain.com
Address: 19.123.2.125
--------------------------------------
2)Then, I type in:
set type=mx <ENTER>
mail.someserver.com <ENTER>
------RESULTS I GET-----------------------------------------
Server: servername.domain.com (same name as before)
Address: 19.123.2.125 (same IP as before)
mail.domain.com MX preference = 20, mail exchanger= mail.domain.com
domain.com nameserver = ns1.domain.com
domain.com nameserver = ns2.domain.com
mail.domain.com internet address = 65.85.125.215
ns1.domain.com internet address = 209.54.102.27
ns2.domain.com internet address = 209.54.125.21
---------------------------------------------------------------------
3)Then, I type in exit <ENTER> and move on to the third step:
telnet mail.domain.com 25 <ENTER>
-----------RESULTS I GET------------------------------------
Connecting to mail.domain.com...Could not open a connection to host on por 25 : Connect failed
----------------------------------------------------------------
Am I doing someting wrong? I tried typing in the following:
telnet 209.54.125.21 25<ENTER> and didn't work.
telnet ns1.domain.com <ENTER> and didn't work either.
One of the SMTP errors I get is the following:
"Message delivery to the remote domain 'hotmail.com' failed for the following reason: The remote server did not respond to a connection attempt."
By the way, I have only the Default SMTP installed on my IIS server. I do not have a Virtual SMTP set up nor remote domains. Shouldn't I be able to send emails out without having to set up virtual SMTP's or remote domains?
I appreciate your help so much.
|
|
|
|
|