Presentation is loading. Please wait.

Presentation is loading. Please wait.

SMTP: simple mail transfer protocol

Similar presentations


Presentation on theme: "SMTP: simple mail transfer protocol"— Presentation transcript:

1 SMTP: simple mail transfer protocol
Isaac Liney

2 What I will be covering:
What is SMTP? History of SMTP How SMTP works And SPAM

3 What is SMTP? SMTP stands for Simple Mail Transfer Protocol.
SMTP is a relatively simple, text-based protocol, where one or more recipients of a message are specified and then the message text is transferred. Its objective as defined by the original request for comments (RFC 821) was to transfer mail reliably and efficiently.

4 An RFC is a series of memoranda encompassing new research, innovations and ideas related to internet technologies. SMTP was designed to be independent of any particular transmission subsystem requiring only a reliable and ordered data stream channel

5 History of SMTP 1960's various forms of one-to-one electronic messaging were used in conjunction with a mainframe computer. SMTP's first iteration was published in RFC 821 in 1982 by John Postel. SMTP only dealt with text transfer Later standards such as Multipurpose Internet Mail Extensions (MIME) were developed to encode binary files through SMTP.

6 How does SMTP work? SMTP performs mail transactions
There are 3 steps to SMTP mail transactions: 1. MAIL The transaction is started with the mail command giving the sender identification. e.g. MAIL <SP> FROM: <reverse-path><CRLF> The MAIL command tells the SMTP receiver that a new mail transaction is starting. The reverse path field holds the senders address path and mail box name. If accepted the receiver sends the message 250 OK back to the sender signaling that it is ready to continue.

7 2. RCPT The second step of the the transaction is the RCPT command
e.g.RCPT <SP> TO: <forward-path> <CRLF> This command gives the forward path identifying one recipient. If accepted the receiver sends: 250 OK and stores the forward path. If a recipient is unknown a 550 failure is returned to the sender.

8 3. DATA The Third step of an SMTP transaction is the DATA command
e.g. DATA <CRLF> If accepted by the receiver 354 is returned All succeeding lines are considered message text. Mail data also includes header items such as date, subject, to, Cc and from. The end of mail data is signified by a new line containing only a period after which another 250 OK is passed back to the sender.

9 DATA cont. The end of mail Indicator confirms the mail
transaction and tells the receiver to process the stored recipients and data. The DATA command should only fail if the transaction was incomplete. In the case of no recipients or unavailable resources.

10 Example of the SMTP Procedure:
S: MAIL R: 250 OK S: RCPT S: RCPT R: 550 No such user here S: RCPT S: DATA R: 354 Start mail input; end with <CRLF>.<CRLF> S: Blah blah blah... S: ...etc. etc. etc. S: <CRLF>.<CRLF>

11 SPAM SMTP does not have a facility for handling authentication
Anyone can send messages to anyone else if their mail box name is known. extensive use and reliance on SMTP globally modification or replacement of SMTP is considered impractical so other avenues of SPAM control need to be developed.

12 References: General overview http://en.wikipedia.org/wiki/SMTP
Detailed info from actual RFC’s


Download ppt "SMTP: simple mail transfer protocol"

Similar presentations


Ads by Google