Home > Ask the Microsoft Exchange Experts > David Sengupta: Server Administration Questions & Answers > How to troubleshoot problems receiving external e-mail
Ask The Exchange Expert: Questions & Answers
EMAIL THIS

How to troubleshoot problems receiving external e-mail

David Sengupta EXPERT RESPONSE FROM: David Sengupta

Pose a Question
Other Exchange Categories
Meet all Exchange Experts
Become an Expert for this site


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 08 November 2005
We cannot receive external e-mail, although local e-mail seems fine. We are running Windows 2000 and Exchange 2000 (both up to date on patches, service packs, etc). We have three physical servers (DNS, Exchange and Print). We have an outside hosted domain, which forwards the e-mail to our system.

We continue to accumulate logs, and the databases grow in size. We can send and receive e-mails in the network (a T1 with a firewall), but we are unable to receive outside e-mails, although we can send. Since we accumulate logs daily, the implication is that the mail comes in, but is not accessible via Outlook (the queue is empty). The system was working fine, and there have been no changes made in the last two years. The domain host was contacted, and a non-technical person responded with, "It's us, not them."


>
EXPERT RESPONSE
You didn't explicitly state this, but based on the two years of operations you allude to and your call to the domain host, I'm assuming that until recently your system accepted mail fine.

So, that said, I would start by doing some tests from outside your corporate network. For all intents and purposes, this could be a home machine connected to the Internet over a cable modem or similar. For the purposes of this discussion, I'll call your SMTP domain "company.com."

First, launch a command prompt and use NSLookup to check the public DNS record associated with your domain. See the following example:

> set query=mx
> company.com
Server: ns.myisp.somewhere.com
Address: 207.4.64.23

Non-authoritative answer:
company.com MX preference = 10, mail exchanger = aslan.company.com

Note that the first thing I did was use the SET command to scope the query to return only Mail Exchanger records. I then ran the query against the SearchExchange.com domain. I see that one MX record is listed, aslan.company.com. I also note that the record returned is "non-authoritative" since I'm pointing to my local ISP's server.

Now find the authoritative server:

> set query=ns
> company.com
Server: ns.myisp.somewhere.com
Address: 207.4.64.23

Company.com nameserver = caspian.narnia.com
caspian.narnia.com internet address = 207.7.1.1

At this point, just double-check the MX record held on the authoritative server to confirm it is also listed as aslan.company.com. You can do this using the same set of commands I used earlier. If there is a discrepancy, go to the hosting provider that looks after your public DNS record, and ask it why it made a change to your MX record.

Assuming there is no discrepancy, try telnetting to port 25 of the server listed in the MX record.

>telnet aslan.company.com 25

This pops you into a telnet session, and should display some sort of SMTP banner similar to the following:

220 aslan.company.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.211 read
y at Wed, 21 Sep 2005 19:15:48 -0700

If, for some reason, you don't manage to establish a telnet session, then this is where your problem lies. The server that 'the world' thinks is your public mail gateway is not, in fact, accepting connections on port 25, which is the port used for SMTP traffic. This is bad. (It is sort of like not having a mailbox out front of your house -- nowhere to put the mail!) This could be caused by server a misconfiguration or a firewall somewhere between the outside world and your mail gateway.

If you did manage to connect to the server, the next step is to issue telnet commands manually to send yourself a test message. The steps to accomplish this are outlined in Microsoft Knowledge Base article 153119, XFOR: Telnet to port 25 to test SMTP communication.

(I actually recommend that *anyone* who regularly works with Microsoft Exchange memorizes and practices the steps required to send a message via telnet. It's pretty simple to learn and this is an invaluable skill when it comes to troubleshooting.)

At this stage, it's quite likely that you'll get an error during the process of trying to send an inbound message. In that case, you need to take the specific error message (i.e., "relaying denied," etc.) and troubleshoot further from there. The server you're connected to (either your server or your ISP's, depending on your set up) is misconfigured.

I suspect that, by now, you have found your problem, and are well on the way to determining root cause. Once you have resolved the issue, you should be able to send yourself a message through the telnet session, just to confirm things are working.

If all of this still doesn't solve your issue, try using the Message Tracking Center to see where the message is going in your environment. Let me know how it goes, and if you have further questions!


Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchExchange.com:

  • Tip: Exchange Server performance
  • Reference Center: Exchange performance



  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    David Sengupta: Server Administration
    Error message: 'ID no: 8004100e Exchange System Manager'
    Exchange public folder calendar can't be opened in Microsoft Outlook
    Microsoft Exchange information store service stops responding
    IMAP list command only returns a list of Exchange public folders
    Remove Exchange 5.5 servers from a mixed mode Exchange environment
    A network connection problem or an offline server prevented delivery of the message
    Export Exchange public folder calendar to Outlook .PST file
    Reconfigure an existing Exchange Server user account for a new user
    Create Exchange user and mailbox accounts on a Windows 2000 PDC
    Can a deleted transaction log be restored in Exchange Server 2003?

    Microsoft Exchange 2000 Server
    Error 1053: Exchange System Attendant service could not start
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Move mailboxes to Exchange 2007 after Windows upgrade
    Third-party tools that modify NDRs for oversized email
    IP address changes for an Exchange 2000 recovery server
    Exchange Server 2003 tips and tricks -- 7 tips in 7 minutes
    How to enable Exchange Server public folder logging
    Deciphering an 0xc103798a Exchange Server setup error code
    Exchange Server error message: 'A non-delivery report with a status code of 5.4.0 was generated for recipient'
    New Exchange Server installation not receiving SMTP or POP3 email
    Microsoft Exchange 2000 Server Research

    Microsoft Outlook
    Free tools keep Microsoft Outlook visible in Windows Vista
    Migrating .PST files to an Exchange Server information store
    Troubleshoot Outlook 2007 error 0X8004010F on Exchange Server 2007
    How to export Global Address List data to Microsoft Office Access
    Revised Outlook out-of-office (OOF) messages don't update in OWA
    Create a group policy to prevent .PST file storage in Exchange 2007
    Microsoft Exchange Server and Outlook email archiving FAQs
    Tool deploys customized Microsoft Outlook 2007 configurations
    Slipstreaming Microsoft Office 2007 deployments
    Does Exchange cached mode work with all versions of Microsoft Outlook?
    Microsoft Outlook Research

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    E2K  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts