Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


June 1998

Using Exchange Server with SMTP and POP3


RSS
Subscribe to Windows IT Pro | See More Internet Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Sending and receiving email with freedom

In his "Inside Out" column, Mark Minasi recently described the workings of the Simple Mail Transfer Protocol (SMTP) and Post Office Protocol (POP) 3 Internet email protocols (for a list of articles about these protocols, see "Related Articles in Windows NT Magazine," page 178). This article goes a step further and describes how Microsoft Exchange Server 5.5 works with these protocols. Specifically, I'll describe what happens behind the scenes when you compose an email message in an Exchange Server-based network and send the message to a recipient on the Internet.

Internet Message Transport
When you email an Internet recipient, the mail server you connect to uses SMTP to transport the message to the recipient's email server. Let's look at an example to see how this process works.

Suppose I'm connected to my corporate messaging network and I want to email my friend Mark at mark@minasi.com. After I compose and send the message, it leaves my desktop and travels through my corporate network until it reaches an Internet mail gateway. On my network, this gateway is server Hermes, with host name hermes .paradigms.com.

When Hermes receives the email message, it examines the recipient's address and attempts to locate the SMTP mail server on the Internet that houses Mark's mailbox. To locate the correct mail server, Hermes queries a Domain Name System (DNS) server for the mail exchanger (MX) and address (A) records for the domain. (For more information about DNS, see "Related Articles in Windows NT Magazine.") Because I'm sending a message to mark@minasi.com, Hermes will look for MX and A records that match minasi.com. If you perform an NSLOOKUP for minasi.com on any DNS server connected to the Internet, you see the following information:

minasi.com MX preference = 10, mail exchanger = arlington.minasi.com

arlington.minasi.com internet address = 199.34.57.24

This information tells Hermes that the Exchange server for my network should deliver email for anyone at minasi.com to server arlington.minasi.com, which has an IP address of 199.34.57.24. To send email to mark@minasi.com, Hermes attempts to connect to TCP port 25 of the Arlington server. To receive SMTP email, Arlington must run SMTP host software and respond appropriately when any server sending SMTP email connects to it. You can Telnet to TCP port 25 of Arlington to see the reply Hermes will receive, which will look similar to the following reply:

220 arlington.minasi.com ESMTP Server (Microsoft Exchange Internet Mail Service 5.5.1960.3) ready

This information tells Hermes that the Arlington server is an SMTP host ready to receive email. In addition, Hermes can see that Arlington is running Microsoft Exchange Server and the Internet Mail Service (IMS), and supports Enhanced SMTP (ESMTP). At this point, Hermes hasn't confirmed that Arlington will receive email for the domain minasi .com or that user mark@minasi.com exists, but Hermes trusts the DNS records. Hermes then begins to transfer my email message to Arlington using SMTP.

Exchange Server's SMTP Support
In addition to being the Internet mail gateway for my network, Hermes runs Exchange Server 5.5. My mailbox is on another server (Athena), and I use the Outlook email client. Unfortunately, I don't know whether the mailbox for mark@minasi.com is on Arlington or on a remote network server, and I can't be sure what email client Mark will use to read my message. As a result, I assume that the environment looks similar to what you see in Figure 1.

Figure 1 shows two Outlook clients (Patmos and MarkPC) and three Exchange servers (Athena, Hermes, and Arlington), with differing functions. My email client is on Patmos, and Mark's email client is on MarkPC. My mailbox is on Athena, and Mark's mailbox is on Arlington. IMS is running on Hermes and Arlington, and the Message Transfer Agent (MTA), which delivers the email to the proper recipient, is running on all three Exchange servers.

Figure 1 also shows a DNS server (with host name dns.dcnw.com) running at an Internet Service Provider (ISP). IMS and MTA are true NT services that you can view under the Services applet in Control Panel, as Screen 1, page 180, shows (you will see IMS in the list of NT services only if you install it on an Exchange server on your network).

All Exchange servers must run four core services: MTA, the Information Store, the Directory Service, and the System Attendant. The Information Store houses email messages and recipients' mailboxes. The Directory Service maintains the directory, including the address book and address-book lookups. The System Attendant is a base service that all the other services depend on.

   Previous  [1]  2  Next 


Reader Comments
I’m a great fan of Windows NT Magazine, which I find full of interesting and relevant information. Spyros Sakellariadis’ June article, “Using Exchange Server with SMTP and POP3,” is a good example of the quality of information the magazine provides. I particularly like the references to other relevant articles, which I can read to complete the picture.
I recently discovered the archive of articles on your Web site. This resource is gold! Past articles are available through a variety of sort modes with links to relevant articles. I can’t express my appreciation adequately. Your archive is now the starting point for all my research.<br>
--Richard J. Jennette

Richard J. Jennette August 11, 1999


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Microsoft Touts Xbox 360 'Black Friday' Success

Microsoft this week revealed that its Xbox 360 video game console outsold its Sony PlayStation 3 rival 3-to-1 on "Black Friday," which curiously describes the three day weekend after Thanksgiving, a period that unofficially kicks off the holiday selling ...

How can I stop and start services from the command line?

...


Related Articles Using Microsoft Email Clients with Exchange Server

Exchange Server and Outlook Whitepapers Protecting (You and) Your Data with Exchange Server 2007

StoreVault SnapManagers for Microsoft Exchange and SQL Server

Related Events Storage Consolidation for Your Microsoft Applications: Reducing Cost and Complexity

The Myths & Truths of Email Management with SharePoint

Top 10 Email Security Challenges and Solutions

Check out our list of Free Email Newsletters!

Exchange Server and Outlook eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

The Expert's Guide for Exchange 2003: Preparing for, Moving to, and Supporting Exchange Server 2003

Related Exchange Server and Outlook Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Exchange & Outlook UPDATE eNewsletter
News, strategies, products, and developments in Exchange Server and Outlook messaging.

Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing