SMTP is running but messages are not going out
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > SMTP is running but messages are not going out




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SMTP is running but messages are not going out  
Darth Vadder


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-04 04:35 PM

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 so
me reason, any email addres
s ending with .com, .org, .edu... is being rejected. I then get a NDR with t
he code #5.0.0 saying the following: "Unable to deliver message to the follo
wing recipients, due to being unable to connect successfully to the destinat
ion mail server."

Any ideas what could be causing this?






[ Post a follow-up to this message ]



    Re: SMTP is running but messages are not going out  
Kristofer Gafvert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-27-04 07: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?
>







[ Post a follow-up to this message ]



    Re: SMTP is running but messages are not going out  
Arjen Steur


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-28-04 04:35 PM

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, b
ut
> fails.
> - mx-remoteDomain.com is the MX record for the domain you are trying to se
nd
> to. If more than one exists, and the first one drops the connection, try t
he
> 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 y
ou
> more about the problem. If something failed on the way, we know if it is
> related to DNS, or connection.
>





[ Post a follow-up to this message ]



    Re: SMTP is running but messages are not going out  
Kristofer Gafvert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-28-04 04:35 PM

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] 







[ Post a follow-up to this message ]



    Re: SMTP is running but messages are not going out  
Darth Vadder


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-06-04 07:37 PM

Thank you Kristofer, I'll try your suggestions right away. I'm kind of new t
o 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 le
ft 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 sp
ecific reason.  Check the address and try again.  If it still fails, contact
 your system administrator.
<myserver.mynetwork.com #5.0.0>
----------------------------------------------------------------------------
--------





[ Post a follow-up to this message ]



    Re: SMTP is running but messages are not going out  
Darth Vadder


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-11-04 10: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 2
5 : 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 followin
g 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 no
t 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.









[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:24 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register