draft-ietf-smtpext-extensions-03.txt   draft-ietf-smtpext-extensions-04.txt 
Network Working Group John Klensin, WG Chair Network Working Group John Klensin, WG Chair
Internet Draft Ned Freed, Editor Internet Draft Ned Freed, Editor
<draft-ietf-smtpext-extensions-03.txt> Marshall Rose <draft-ietf-smtpext-extensions-04.txt> Marshall Rose
Einar Stefferud Einar Stefferud
David Crocker David Crocker
SMTP Service Extensions SMTP Service Extensions
April 15, 1995 May 6, 1995
Status of this Memo Status of this Memo
This document is an Internet-Draft. Internet-Drafts are This document is an Internet-Draft. Internet-Drafts are
working documents of the Internet Engineering Task Force working documents of the Internet Engineering Task Force
(IETF), its areas, and its working groups. Note that other (IETF), its areas, and its working groups. Note that other
groups may also distribute working documents as Internet- groups may also distribute working documents as Internet-
Drafts. Drafts.
Internet-Drafts are draft documents valid for a maximum of six Internet-Drafts are draft documents valid for a maximum of six
skipping to change at page 4, line 20 skipping to change at page 4, line 20
4.1.2. Maximum command line length 4.1.2. Maximum command line length
This specification extends the SMTP MAIL FROM and RCPT TO to This specification extends the SMTP MAIL FROM and RCPT TO to
allow additional parameters and parameter values. It is allow additional parameters and parameter values. It is
possible that the MAIL FROM and RCPT TO lines that result will possible that the MAIL FROM and RCPT TO lines that result will
exceed the 512 character limit on command line length imposed exceed the 512 character limit on command line length imposed
by RFC 821. This limit is hereby amended to only apply to by RFC 821. This limit is hereby amended to only apply to
command lines without any parameters. Each specification that command lines without any parameters. Each specification that
defines new MAIL FROM or RCPT TO parameters must also specify defines new MAIL FROM or RCPT TO parameters must also specify
maximum parameter value lengths so that implementors of some maximum parameter value lengths for each parameter so that
set of extensions know how much buffer space must be implementors of some set of extensions know how much buffer
allocated. space must be allocated. The maximum command length that must
be supported by an SMTP implementation with extensions is 512
plus the sum of all the maximum parameter lengths for all the
extensions supported.
4.2. Command syntax 4.2. Command syntax
The syntax for this command, using the ABNF notation of [2], The syntax for this command, using the ABNF notation of [2],
is: is:
ehlo-cmd ::= "EHLO" SP domain CR LF ehlo-cmd ::= "EHLO" SP domain CR LF
If successful, the server SMTP responds with code 250. On If successful, the server SMTP responds with code 250. On
failure, the server SMTP responds with code 550. On error, the failure, the server SMTP responds with code 550. On error, the
skipping to change at page 6, line 27 skipping to change at page 6, line 27
(2) the EHLO keyword value associated with the extension; (2) the EHLO keyword value associated with the extension;
(3) the syntax and possible values of parameters associated (3) the syntax and possible values of parameters associated
with the EHLO keyword value; with the EHLO keyword value;
(4) any additional SMTP verbs associated with the extension (4) any additional SMTP verbs associated with the extension
(additional verbs will usually be, but are not required (additional verbs will usually be, but are not required
to be, the same as the EHLO keyword value); to be, the same as the EHLO keyword value);
(5) any new parameters the extension associates with the (5) any new parameters the extension associates with the
MAIL FROM or RCPT TO verbs; and, MAIL FROM or RCPT TO verbs;
(6) how support for the extension affects the behavior of a (6) how support for the extension affects the behavior of a
server and client SMTP. server and client SMTP; and,
(7) the increment by which the extension is increasing the
maximum length of the commands MAIL FROM, RCPT TO, or
both, over that specified in RFC 821.
In addition, any EHLO keyword value that starts with an upper In addition, any EHLO keyword value that starts with an upper
or lower case "X" refers to a local SMTP service extension, or lower case "X" refers to a local SMTP service extension,
which is used through bilateral, rather than standardized, which is used through bilateral, rather than standardized,
agreement. Keywords beginning with "X" may not be used in a agreement. Keywords beginning with "X" may not be used in a
registered service extension. registered service extension.
Any keyword values presented in the EHLO response that do not Any keyword values presented in the EHLO response that do not
begin with "X" must correspond to a standard, standards-track, begin with "X" must correspond to a standard, standards-track,
or IESG-approved experimental SMTP service extension or IESG-approved experimental SMTP service extension
skipping to change at page 9, line 17 skipping to change at page 9, line 25
esmtp-parameter ::= esmtp-keyword ["=" esmtp-value] esmtp-parameter ::= esmtp-keyword ["=" esmtp-value]
esmtp-keyword ::= (ALPHA / DIGIT) *(ALPHA / DIGIT / "-") esmtp-keyword ::= (ALPHA / DIGIT) *(ALPHA / DIGIT / "-")
; syntax and values depend on esmtp-keyword ; syntax and values depend on esmtp-keyword
esmtp-value ::= 1*<any CHAR excluding "=", SP, and all esmtp-value ::= 1*<any CHAR excluding "=", SP, and all
control characters (US ASCII 0-31 control characters (US ASCII 0-31
inclusive)> inclusive)>
; The following commands are extended to ; The following commands are extended to
; accept extended parameters. ; accept extended parameters.
inner-esmtp-cmd ::= ("MAIL FROM:<" reverse-path ">") / inner-esmtp-cmd ::= ("MAIL FROM:" reverse-path) /
("RCPT TO:<" forward-path ">") ("RCPT TO:" forward-path)
All esmtp-keyword values must be registered as part of the All esmtp-keyword values must be registered as part of the
IANA registration process described above. This definition IANA registration process described above. This definition
only provides the framework for future extension; no extended only provides the framework for future extension; no extended
MAIL FROM or RCPT TO parameters are defined by this RFC. MAIL FROM or RCPT TO parameters are defined by this RFC.
6.1. Error responses 6.1. Error responses
If the server SMTP does not recognize or cannot implement one If the server SMTP does not recognize or cannot implement one
or more of the parameters associated with a particular MAIL or more of the parameters associated with a particular MAIL
 End of changes. 6 change blocks. 
9 lines changed or deleted 16 lines changed or added

This html diff was produced by rfcdiff 1.34. The latest version is available from http://tools.ietf.org/tools/rfcdiff/