Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
EFF: rfc2821

EFF: rfc2821

Ratings: (0)|Views: 265 |Likes:
Published by EFF

More info:

Published by: EFF on Jan 28, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less

10/13/2011

pdf

text

original

 
Network Working Group J. Klensin, EditorRequest for Comments: 2821 AT&T LaboratoriesObsoletes: 821, 974, 1869 April 2001Updates: 1123Category: Standards TrackSimple Mail Transfer ProtocolStatus of this MemoThis document specifies an Internet standards track protocol for theInternet community, and requests discussion and suggestions forimprovements. Please refer to the current edition of the "InternetOfficial Protocol Standards" (STD 1) for the standardization stateand status of this protocol. Distribution of this memo is unlimited.Copyright NoticeCopyright (C) The Internet Society (2001). All Rights Reserved.AbstractThis document is a self-contained specification of the basic protocolfor the Internet electronic mail transport. It consolidates, updatesand clarifies, but doesn't add new or change existing functionalityof the following:- the original SMTP (Simple Mail Transfer Protocol) specification ofRFC 821 [30],- domain name system requirements and implications for mailtransport from RFC 1035 [22] and RFC 974 [27],- the clarifications and applicability statements in RFC 1123 [2],and- material drawn from the SMTP Extension mechanisms [19].It obsoletes RFC 821, RFC 974, and updates RFC 1123 (replaces themail transport materials of RFC 1123). However, RFC 821 specifiessome features that were not in significant use in the Internet by themid-1990s and (in appendices) some additional transport models.Those sections are omitted here in the interest of clarity andbrevity; readers needing them should refer to RFC 821.Klensin Standards Track [Page 1]
 
RFC 2821 Simple Mail Transfer Protocol April 2001It also includes some additional material from RFC 1123 that requiredamplification. This material has been identified in multiple ways,mostly by tracking flaming on various lists and newsgroups andproblems of unusual readings or interpretations that have appeared asthe SMTP extensions have been deployed. Where this specificationmoves beyond consolidation and actually differs from earlierdocuments, it supersedes them technically as well as textually.Although SMTP was designed as a mail transport and delivery protocol,this specification also contains information that is important to itsuse as a 'mail submission' protocol, as recommended for POP [3, 26]and IMAP [6]. Additional submission issues are discussed in RFC 2476[15].Section 2.3 provides definitions of terms specific to this document.Except when the historical terminology is necessary for clarity, thisdocument uses the current 'client' and 'server' terminology toidentify the sending and receiving SMTP processes, respectively.A companion document [32] discusses message headers, message bodiesand formats and structures for them, and their relationship.Table of Contents1. Introduction .................................................. 42. The SMTP Model ................................................ 52.1 Basic Structure .............................................. 52.2 The Extension Model .......................................... 72.2.1 Background ................................................. 72.2.2 Definition and Registration of Extensions .................. 82.3 Terminology .................................................. 92.3.1 Mail Objects ............................................... 102.3.2 Senders and Receivers ...................................... 102.3.3 Mail Agents and Message Stores ............................. 102.3.4 Host ....................................................... 112.3.5 Domain ..................................................... 112.3.6 Buffer and State Table ..................................... 112.3.7 Lines ...................................................... 122.3.8 Originator, Delivery, Relay, and Gateway Systems ........... 122.3.9 Message Content and Mail Data .............................. 132.3.10 Mailbox and Address ....................................... 132.3.11 Reply ..................................................... 132.4 General Syntax Principles and Transaction Model .............. 133. The SMTP Procedures: An Overview .............................. 153.1 Session Initiation ........................................... 153.2 Client Initiation ............................................ 163.3 Mail Transactions ............................................ 163.4 Forwarding for Address Correction or Updating ................ 19Klensin Standards Track [Page 2]
 
RFC 2821 Simple Mail Transfer Protocol April 20013.5 Commands for Debugging Addresses ............................. 203.5.1 Overview ................................................... 203.5.2 VRFY Normal Response ....................................... 223.5.3 Meaning of VRFY or EXPN Success Response ................... 223.5.4 Semantics and Applications of EXPN ......................... 233.6 Domains ...................................................... 233.7 Relaying ..................................................... 243.8 Mail Gatewaying .............................................. 253.8.1 Header Fields in Gatewaying ................................ 263.8.2 Received Lines in Gatewaying ............................... 263.8.3 Addresses in Gatewaying .................................... 263.8.4 Other Header Fields in Gatewaying .......................... 273.8.5 Envelopes in Gatewaying .................................... 273.9 Terminating Sessions and Connections ......................... 273.10 Mailing Lists and Aliases ................................... 283.10.1 Alias ..................................................... 283.10.2 List ...................................................... 284. The SMTP Specifications ....................................... 294.1 SMTP Commands ................................................ 294.1.1 Command Semantics and Syntax ............................... 294.1.1.1 Extended HELLO (EHLO) or HELLO (HELO) ................... 294.1.1.2 MAIL (MAIL) .............................................. 314.1.1.3 RECIPIENT (RCPT) ......................................... 314.1.1.4 DATA (DATA) .............................................. 334.1.1.5 RESET (RSET) ............................................. 344.1.1.6 VERIFY (VRFY) ............................................ 354.1.1.7 EXPAND (EXPN) ............................................ 354.1.1.8 HELP (HELP) .............................................. 354.1.1.9 NOOP (NOOP) .............................................. 354.1.1.10 QUIT (QUIT) ............................................. 364.1.2 Command Argument Syntax .................................... 364.1.3 Address Literals ........................................... 384.1.4 Order of Commands .......................................... 394.1.5 Private-use Commands ....................................... 404.2 SMTP Replies ................................................ 404.2.1 Reply Code Severities and Theory ........................... 424.2.2 Reply Codes by Function Groups ............................. 444.2.3 Reply Codes in Numeric Order .............................. 454.2.4 Reply Code 502 ............................................. 464.2.5 Reply Codes After DATA and the Subsequent <CRLF>.<CRLF> .... 464.3 Sequencing of Commands and Replies ........................... 474.3.1 Sequencing Overview ........................................ 474.3.2 Command-Reply Sequences .................................... 484.4 Trace Information ............................................ 494.5 Additional Implementation Issues ............................. 534.5.1 Minimum Implementation ..................................... 534.5.2 Transparency ............................................... 534.5.3 Sizes and Timeouts ......................................... 54Klensin Standards Track [Page 3]

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->