(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



2003/10/02 SMTP

Simple Mail Transport Protocol is how the internet transports mail from computer to computer. It's a very simple, text based conversation between two computers that might look something like this:

 220 smtp.somewhere.net ESMTP Sendmail 8.9.3+Sun/8.9.1; Thu, 12 Oct 2000 04:39:40 -0700 (PDT)
 mail from: tony@aplawrence.com
 250 tony@aplawrence.com... Sender ok
 rcpt to: foobah@somewhere.com
 250 foobah@somewhere.com... Recipient ok
 data
 354 Enter mail, end with . on a line by itself
 test
 look ma no headers!
 .
 250 HA00945 Message accepted for delivery
 quit
 221 smtp.somewhere.com closing connection
 

Servers use SMTP to both send and receive mail. Your email client (Outlook, Eudora, whatever) uses SMTP to send mail, but does NOT receive its mail from other computers this way. Clients will use protocols like POP or IMAP to receive mail.



When servers send mail, they talk directly to other systems: if mail goes from aol.com to me, AOL's computer's make a connection to my server. Your desktop client doesn't do that: it needs an intermediary, a "default smtp server" that it will send to. That server will make the actual connection to me. The reason for this is that Outlook and other email clients can't be bothered with the problems of keeping track of mail that can't be delivered right now - they worry about the default server only. My server may be down or very busy just now and not ready to accept your mail. Desktop email clients don't want the complexity of dealing with all that, so they pass that responsibility to the intermediary. That server may have to temporarily hold mail for me, for joe and whoever, but that is its job, and whenever my server and joe's are available again, it will send the mail.




Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar

cartoon
Versatile Site Map Generator $59.00
A1 Sitemap Generator


Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




pavatar.jpg
More:
       - Misc.


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress