形式構文
メールのユーザープロセスまたはサーバープロセスを実際に実装する際に用いる簡潔なキーワード形式は、対応する冗長形式から文字を削除することで生成されます。削除された文字は、以下の記述全体を通して、角括弧で囲んで含めてあります。構文の終端要素の間には自由に空白を使用でき、場合によっては、境界を他の方法では区別できない 2 つの要素の間に、少なくとも一つの空白を置かなければなりません。
<CA2> ::= TELNET Go Ahead character
<CA> ::= TELNET new line (CR LF)
<CRLF> ::= CR LF
<accesstypes> ::= <readaccess> <controlaccess>
<ackcondition> ::= A[LWAYS] | F[AILURE] | N[EVER]
<acktype> ::= T[ERSE] | V[ERBOSE]
<action> ::= A[CTION] | null
<catalog> ::= <string>
<citationcomp> ::= D[ISTRIBUTION]L[IST] | A[CESS]L[IST] |
C[ATALOG]L[IST] | C[ON]T[ENT] | T[ITLE] |
C[OM]M[ENTS] | AU[THOR] | CL[ERK] |
C[REATION]D[ATE]
<citationtemp> ::= <citationcomp> | <citationcomp>
<citationtemp>
<command> ::= <shortbody> <CA> | <longbody> <CA2>
<comments> ::= <string>
<controlaccess> ::= C[ONTROLLING] | null
<count> ::= decimal integer
<date> ::= <dayofmonth> / <month> / <year>
<datetime> ::= <date> <time>
<dayofmonth> ::= decimal integer, 1-31
<days> ::= <count> D[AYS]
<deliverystatus> ::= F[AILED] | S[UCCESSFUL] | T[IMED OUT] |
W[AITING] | U[NATTEMPTED]
<deliverytype> ::= F[ORWARD] | M[AIL] | N[EGATIVE
ACKNOWLEDGMENT] | P[OSITIVE
ACKNOWLEDGMENT] | P[ROGRESS]R[EPORT]
| R[EPLY]
<disposition> ::= <rsvp> <action> <interrupt>
<fileaddr> ::= <host> <pathname>
<functionlist> ::= <functiontype> | <functiontype>
<functionlist>
<functiontype> ::= RE[CORDING] | DE[LIVERY] | DI[STRIBUTION] |
F[OR]W[ARDING] | CI[TATION RETEiEVAL] |
UP[DATE] | U[SER]V[ERIFICATION]
<globalname> ::= * <nicident>
<greeting> ::= <string>
<host> ::= <hostname> | <hostaddress>
<hostaddress> ::= decimal integer, 0-255
<hostname> ::= standard host name
<hour> ::= decimal integer, 0-23
<hours> ::= <count> H[OURS]
<individual> ::= <localname> | <globalname>
<interrupt> ::= I[NTERRUPT] | null
<interval> ::= <days> | <hours> | <days> <hours>
<localname> ::= <mailbox> @ <host> | <mailbox> @
NOTE: Host defaults to that of the server
<longbody> ::= COM[MENTS] <comments> |
TEXT <string>
<mailbox> ::= <string>
<minute> ::= decimal integer, 0-59
<month> ::= decimal integer, 1-12
<nicident> ::= <string>
<id> ::= <string>
<pathname> ::= <string>
<readaccess> ::= R[EAD] | null
<rsvp> ::= R[SVP] | null
<serialnumber> ::= <string>
<shortbody> ::= ABOR[T] |
ACC[ESS] <individual> |
ACKC[ONDITION] <ackcondition> |
ACKT[YPE] <acktype> |
AC[CESS]TY[PES] <accesstypes> |
AUTH[OR] <individual> |
CAT[ALOG] <catalog> |
CLER[K] <individual> |
CR[EATION]DA[TE] <datetime> |
CUT[OFF] <interval> |
C[ITATION]TEM[PLATE] <citationtemp> |
DELI[VER] |
DE[LIVERY]TY[PE] <delivverytype> |
DISP[OSITION] <disposition> |
DIST[RIBUTE] |
EXIT |
FILE |
FOR[WARDE]E <individual> |
FOR[WARD] |
GEN[ERAL]D[ELIVERY] |
GREE[TING] <greeting> |
ID <ID> |
LOC[ATION] <fileaddr> |
MAIL |
MON[ITOR] <individual> |
PATH[NAME] <pathname> |
RECI[PIENT] <individual> |
REC[ORD] |
REQ[UESTO]R <individual> |
R[EFERENCE]SER[IAL] <serialnumber> |
R[EPORT]INT[ERVAL] <interval> |
SERI[AL] <serialnumber> |
SIGN[ATURE] <signature> |
TITL[E] <title> |
UPDA[TE] |
UP[DATE]TY[PE] <updatetype> |
VER[IFY]
<signature> ::= <string>
<string> ::= any non-zero number of visible characters
(in particular, CA and CA2 are excluded)
<time> ::= <hour> : <minute> <timezone>
<timezone> ::= EST | EDT | CST | CDT | MST | MDT | PST |
PDT | GMT
<title> ::= <string>
<updatetype> ::= A[DD] | R[EPLACE] | D[ELETE]
<year> ::= full year in decimal (e.g., 1973)
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by Root 2/98 ]