Home > Ask the Microsoft Exchange Experts > David Sengupta: Server Administration Questions & Answers > Not receiving mail from outside the network
Ask The Exchange Expert: Questions & Answers
EMAIL THIS

Not receiving mail from outside the network

David Sengupta EXPERT RESPONSE FROM: David Sengupta

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


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 February 2005
I have an Exchange server on a Windows 2000 server running Exchange 5.5. Recently, we can no longer receive e-mails from outside our network. I have checked Microsoft's site, telnetted to the server with a valid username/password and logged in OK. I have also checked with our ISP and DNS is set up correctly. Any ideas?

>
EXPERT RESPONSE
When you say you tried telnetting to the server and inputting a username/password combination, I'm assuming you tried logging in via telnet to POP3. This is fine if you're testing authentication via the POP3 protocol (i.e. port 110), but in your case, it's the SMTP protocol that needs testing (i.e. port 25).

That said, I'm going to step onto my soapbox briefly...

I highly recommend you spend a few minutes at the outset investigating what changed in your Internet mail environment in the time leading up to the outage.

I've been through countless scenarios like this, where some investigation –- and sometimes downright interrogation -– turns up the fact that someone installed a patch, reconfigured an antispam gateway, changed ports on a firewall or otherwise made changes to a production Exchange environment without notifying the Exchange operations team.

Change control is absolutely essential if you're going to achieve any kind of predictable availability across your Exchange infrastructure. Establishing well-tested procedures, documenting processes and maintaining change logs, and avoiding rogue server re-configuration or changes, are all essential components of running a highly successful Exchange operation.

Stepping off soapbox now...

So to troubleshoot your server, try telnetting from the Internet to whatever IP address corresponds to your public Mail Exchanger (MX) record. You'll want to telnet to port 25 specifically. So if your public DNS MX record looks like the example below, you'll want to use telnet command 'telnet 192.168.1.1 25' in order to connect to the server on the proper interface and using the proper port.

mydomain.ca MX preference = 5 mail Exchanger = mx1.mydomain.ca mx1.mydomain.ca Internet address = 192.168.1.1

If Exchange is responding, you should see a banner similar to the following:

220 myExchangeserver.mydomain.ca Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Sat, 22 Jan 2005 21:02:12 -0500

Note that this banner returns the Exchange version number which should start with 5.x. If you get a banner similar to the following, namely one starting with a 6.x, then you have a problem:

220 mywindowsserver.mydomain.ca Microsoft ESMTP MAIL Service, Version: 6.0.2600.21 80 ready at Sat, 22 Jan 2005 21:05:03 -0500

The 6.x indicates that this is actually not an Exchange erver responding, but rather a Windows machine running the IIS SMTP Service (in this case, it's a Windows XP machine).

So if you haven't guessed by now, the first step in troubleshooting your problem is to confirm that your Exchange server is, in fact, listening on the expected IP address and is answering connections to port 25. I've seen numerous cases in which an alternate service, such as IIS SMTP Service or an antispam gateway, is intercepting port 25 calls unexpectedly.

Once you've ruled that out, you'll want to try your telnet test, but this time use the following commands:

Helo me.com
Mail from:
Rcpt to:
Subject:Test Message at 1:01 p.m.
Data
This is a test.
.
.
Feel free to replace the "me.com" with any Internet domain. Make sure the "RCPT TO" address is a valid address on the server.

There are a few things this test will show you. First, if the server is returning any errors during SMTP transmission, you'll see them in the telnet session output. Second, once you've completed the message delivery, you should see the message show up in the target mailbox. If you do, everything is fine from an Exchange perspective and you need to check whether a firewall or other intermediary device is blocking SMTP connectivity to your server.

If you don't see the message in the target mailbox, you'll want to launch Exchange Administrator (Exchange System Manager for Exchange 2000 or 2003 environments) and use the message tracking center to track the message from myaddress@someinternetdomain.com. It's likely sitting in a queue somewhere, in which case you've found your problem and will need to investigate exactly why mail is queuing instead of being delivered.

There are a lot of steps involved, because so many variables could be causing your mail delivery issues. But I've shown you the key steps to take to troubleshoot your inbound Internet mail issues.


Do you have comments on this Ask the Expert question and response? Let us know.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
David Sengupta: Server Administration
Recovering an Exchange Server 2003 store on a disaster recovery box
Creating disk space for an Exchange Server 2003 priv1.edb database
Sharing a user's Outlook calendar with a public folder calendar
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

Microsoft Exchange Server and DNS
Why can't POP3 clients receive Exchange Server email?
How to configure DNS records for Exchange Server on Windows SBS 2003
OWA stops working from external network connection
Locate 'missing' SPF record on an external DNS domain
Receiving 'failed MX lookup' delivery status notification
IP address changes for an Exchange 2000 recovery server
0xC103FC93 error with Exchange 2003 setup and install
Set up FQDN and bridgeheads for POP3 and IMAP4 email
Reverse DNS mismatches mark Exchange email as spam
New Exchange Server installation not receiving SMTP or POP3 email

Internet Information Services (IIS) and Exchange Server Interoperability
Automated redirects to OWA directories may fail when SSL is enforced
Monitoring Outlook Web Access usage via IIS log files
Exchange Server and Microsoft Internet Information Services (IIS)
IIS 6 file corruption flaw impairs OWA
Symantec Mail Security for Microsoft Exchange crashes IIS
Outlook Web Access only displays parent directories
Recreating IIS virtual directories for OWA, OMA and Exchange ActiveSync
Exchange Server domain name changes -- don't forget about IIS
Forms-based authentication errors with OMA and ActiveSync
Disappearing OWA and Exchange virtual directory settings
Internet Information Services (IIS) and Exchange Server Interoperability Research

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