Solved

Outgoing mail stuck in queue with response of "the remote server did not respond to a connection attempt" to any domain (Exch2k3)

Posted on 2004-10-25
780 Views
Last Modified: 2008-02-01
I'm currently running an Exchage Server 2003 w/ SP1 on a Win2K3 box.  I have no problems receiving email (pennnetworkconsulting.com is the domain).  However, I cannot send any outgoing mail regardless of the domain.  I have tried a large amount of domains for email tests and none go through.  All of these domains can be resolved fine (via nslookup) from the Exchange box, but they sit in the outgoing queue on retry with a "the remote server did not respond to a connection attempt" message.  Forcing the connection does not help.  I've done a dnsreport.com test on my domain without any errors.  The Exchange box sits behind a Netgear WGT624v2 router with all the appropriate ports being forwarded.  I can telnet into my exchange server from the outside world fine (used a remote terminal server).  I've been searching through other similar questions, but none have helped.  It does not appear to be a DNS issue--I'm running DNS on the exchange box with it pointed to itself for resolution and have my ISP's DNS servers as forwarders.  I completly re-worked my entire setup over the weekend in hopes to resolve the issue--but alas, no dice.  Any ideas are greatly appreciated, I'm at the end of my rope here.  I have a feeling that it's something simple and I just need another pair of eyes to look at it.  Thanks!

rmccune218
0
Question by:rmccune218
    13 Comments
     
    LVL 5

    Expert Comment

    by:Maharajkp
    use "set vc" ... before Querying for MX, under NSLookup, to force it to make TCP Queries

    Test SMTP Communication with any problemetic Domain ... and see if dropping a message manually works or not
    http://support.microsoft.com/?id=838049

    Turn on Diagnostics logging on Transport
    Enable NCSA Logging on SMTP Virtual Server

    And My Favourite any 3rd Party Products ... AntiVirus/AntiSpam?

    0
     

    Author Comment

    by:rmccune218
    Thanks for the response.  Will try the above suggestions and let you know the results.  As for 3rd party--nothing...it's a fresh install and I havn't reached that point yet.
    0
     

    Author Comment

    by:rmccune218
    OK.

    Used set vc command--getting valid resolution for problematic domains.  Will try the article you suggested when I can get through to the MS site.  

    NCSA on the virtual server is on:

    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2004-10-25 16:19:39
    #Fields: time c-ip cs-method cs-uri-stem sc-status
    16:19:39 216.38.168.200 QUIT - 240
    16:24:15 69.2.200.182 HELO - 250
    16:24:15 69.2.200.182 MAIL - 250
    16:24:15 69.2.200.182 RCPT - 250
    16:24:15 69.2.200.182 RCPT - 250
    16:24:15 69.2.200.182 RCPT - 550
    16:24:15 69.2.200.182 RCPT - 550
    16:24:15 69.2.200.182 QUIT - 240
    #Software: Microsoft Internet Information Services 6.0
    #Version: 1.0
    #Date: 2004-10-25 16:28:37
    #Fields: time c-ip cs-method cs-uri-stem sc-status
    16:28:37 65.215.13.166 EHLO - 250
    16:28:37 65.215.13.166 MAIL - 250
    16:28:37 65.215.13.166 RCPT - 250
    16:28:37 65.215.13.166 DATA - 250
    16:28:37 65.215.13.166 QUIT - 240
    16:30:45 208.184.224.72 HELO - 250
    16:30:45 208.184.224.72 MAIL - 250
    16:30:45 208.184.224.72 RCPT - 250
    16:30:45 208.184.224.72 DATA - 250
    16:30:45 208.184.224.72 QUIT - 240
    16:31:42 12.29.228.211 EHLO - 250
    16:31:42 12.29.228.211 MAIL - 250
    16:31:42 12.29.228.211 RCPT - 250
    16:31:42 12.29.228.211 DATA - 250
    16:31:42 12.29.228.211 QUIT - 240
    16:35:19 65.215.13.166 EHLO - 250
    16:35:19 65.215.13.166 MAIL - 250
    16:35:19 65.215.13.166 RCPT - 250
    16:35:19 65.215.13.166 DATA - 250
    16:35:19 65.215.13.166 QUIT - 240
    16:40:13 207.252.166.70 EHLO - 250
    16:40:13 207.252.166.70 MAIL - 250
    16:40:13 207.252.166.70 RCPT - 250
    16:40:13 207.252.166.70 DATA - 250
    16:40:13 207.252.166.70 QUIT - 240
    16:41:19 69.2.200.182 HELO - 250
    16:41:19 69.2.200.182 MAIL - 250
    16:41:19 69.2.200.182 RCPT - 250
    16:41:19 69.2.200.182 RCPT - 250
    16:41:19 69.2.200.182 RCPT - 550
    16:41:19 69.2.200.182 RCPT - 550
    16:41:19 69.2.200.182 QUIT - 240
    17:05:18 66.37.227.176 HELO - 250
    17:05:18 66.37.227.176 MAIL - 250
    17:05:18 66.37.227.176 RCPT - 250
    17:05:18 66.37.227.176 DATA - 250
    17:05:18 66.37.227.176 QUIT - 240
    18:07:01 208.254.26.169 EHLO - 250
    18:07:01 208.254.26.169 MAIL - 250
    18:07:01 208.254.26.169 RCPT - 250
    18:07:01 208.254.26.169 DATA - 250
    18:07:06 208.254.26.169 QUIT - 240
    19:14:32 64.156.132.246 EHLO - 250
    19:14:32 64.156.132.246 MAIL - 250
    19:14:32 64.156.132.246 RCPT - 250
    19:14:32 64.156.132.246 DATA - 250
    19:14:32 64.156.132.246 QUIT - 240
    19:22:10 69.9.174.254 EHLO - 250
    19:22:10 69.9.174.254 MAIL - 250
    19:22:10 69.9.174.254 RCPT - 250
    19:22:10 69.9.174.254 DATA - 250
    19:22:10 69.9.174.254 QUIT - 240

    Could you explain what you mean by the diagnostics logging?

    Thanks!
    0
     

    Author Comment

    by:rmccune218
    MS must have removed the article...couldn't find it.
    0
     
    LVL 5

    Expert Comment

    by:Maharajkp
    Check this Article for SMTP Communication
    http://support.microsoft.com/default.aspx?scid=kb;en-us;153119

    this log doesn't look like NCSA ... this I guess is W3 format
    0
     

    Author Comment

    by:rmccune218
    Worked through the article and it queued my test message.  Received the message fine.  Not sure what that tells me?
    0
     
    LVL 5

    Expert Comment

    by:Maharajkp
    can you check with the recipient ... whether he received it or not !!!
    0
     

    Author Comment

    by:rmccune218
    actually I sent an email to myself (duh, my bad)
    when I try it with a valid recipient other than myself, I get "unable to relay for user@domain.com" and I cannot go further, regardless of the recipient I try.
    0
     
    LVL 5

    Expert Comment

    by:Maharajkp
    ... ok ...

    I think you are trying to telnet to your own server ...

    Do Telnet to external Domain Exchange Server ... if you have Yahoo account ...

    get MX record for yahoo.com

    'Telnet MX_IP_of_yahoo.com 25'
    mail from: <your_company_email_address>
    rcpt to: <your_yahoo_address>

    and see if you are getting email on your yahoo

    Do this all from your Exchange Server
    0
     

    Author Comment

    by:rmccune218
    Can't set the local echo on the yahoo mail server so it doen't allow me to see what I'm typing...
    0
     
    LVL 5

    Expert Comment

    by:Maharajkp
    try to set using -
    set localecho
    0
     

    Author Comment

    by:rmccune218
    feel free to try my smtp server 66.171.13.101

    yahoo will not allow my login
    0
     
    LVL 5

    Accepted Solution

    by:
    I think I got your problem ....

    This is what I am doing

    C:\>telnet

    Welcome to Microsoft Telnet Client

    Escape Character is 'CTRL+]'

    Microsoft Telnet> set localecho
    Local echo on
    Microsoft Telnet> open mx1.mail.yahoo.com 25

    220 YSmtp mta141.mail.sc5.yahoo.com ESMTP service ready
    ehlo
    250-mta141.mail.sc5.yahoo.com
    250-8BITMIME
    250-SIZE 31981568
    250 PIPELINING

    mail from: maharajkp@hotmail.com
    501 Syntax error in parameters or arguments

    mail from: <maharajkp@hotmail.com>
    250 sender <maharajkp@hotmail.com> ok

    rcpt to: <maharajkp@yahoo.com>
    250 recipient <maharajkp@yahoo.com> ok

    data
    354 go ahead
    TRest Message from Telnet
    .
    250 ok dirdel

    Please NOTE ...  < ...@...> around Email Address

    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    Learn more about the importance of email disclaimers with our top 10 email disclaimer DOs and DON’Ts.
    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    934 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now