1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
RFC # 561 Abhay Bhushan (AKB) MIT-DMCG
NIC # 18516 Ken Pogran (KP) MIT-MULTICS
Ray Tomlinson (RST) BBN-TENEX
Jim White (JEW) SRI-ARC
5 September 73
Standardizing Network Mail Headers
One of the deficiences of the current FTP mail protocol is that
it makes no provision for the explicit specification of such
header information as author, title, and date. Many systems
send that information, but each in a different format. One
fairly serious result of this lack of standardization is that
it's next to impossible for a system or user program to
intelligently process incoming mail.
Although the long-term solution to the problem is probably to
add commands for specifying such information to the mail
protocol command space (as suggested in RFC 524 -- 17140,), we
hereby propose a more quickly implemented solution for the
interim.
We suggest that the text of network mail, whether transmitted
over the FTP telnet connection (via the MAIL command) or over a
separate data connection (with the MLFL command), be governed by
the syntax below:
Example:
From: White at SRI-ARC
Date: 24 JUL 1973 1527-PDT
Subject: Multi-Site Journal Meeting Announcement
NIC: 17996
At 10 AM Wednesday 25-JULY there will be a meeting
to discuss a Multi-Site Journal in the context of
the Utility. Y'all be here.
Formal Syntax:
<mailtext> ::= <header> <CRLF> <message>
<header> ::= <headeritem> ! <headeritem> <header>
<headeritem> ::= <item> <CRLF>
<item> ::= <authoritem> ! <dateitem> !
<subjectitem> ! <miscitem>
1^L
NWG/RFC# 561 AKB KP RST JEW 5-SEP-73 11:19 18516
Standardizing Network Mail Headers RFC 561 / NIC 18516
<authoritem> ::= FROM: <SP> <user> <SP> AT <SP> <host>
<dateitem> ::= DATE: <SP> <date> <SP> <time> - <zone>
<subjectitem> ::= SUBJECT: <SP> <line>
<miscitem> ::= <keyword> : <SP> <line>
<date> ::= <vdate> ! <tdate>
<vdate> ::= <dayofmonth> <SP> <vmonth> <SP> <vyear>
<tdate> ::= <tmonth> / <dayofmonth> / <tyear>
<dayofmonth> ::= one or two decimal digits
<vmonth> ::= JAN ! FEB ! MAR ! APR ! MAY ! JUN !
JUL ! AUG ! SEP ! OCT ! NOV ! DEC
<tmonth> ::= one or two decimal digits
<vyear> ::= four decimal digits
<tyear> ::= two decimal digits
<zone> ::= EST ! EDT ! CST ! CDT ! MST ! MDT !
PST ! PDT ! GMT ! GDT
<time> ::= four decimal digits
<user> ::= <word>
<host> ::= a standard host name
<message> ::= <line> <CRLF> ! <line> <CRLF> <message>
<keyword> ::= <word>
<line> ::= a string containing any of the 128 ASCII
characters except CR and LF
<word> ::= a string containing any of the 128 ASCII
characters except CR, LF, and SP
<CRLF> ::= CR LF
<SP> ::= space
Please note the following:
(1) <authoritem>, <dateitem>, and <subjectitem> may each
appear at most once in <header>; <miscitem> may occur any
number of times. The order of <authoritem>, <dateitem>,
and <subjectitem> is insignificant, but they must proceed
all occurrences of <miscitem>.
(2) The case (upper or lower) of keywords -- specifically,
'FROM', 'DATE', 'SUBJECT' ,'AT', <host>, <zone>, <vmonth>
and <keyword> -- is insignificant. Although 'FROM', for
example, appears in upper-case in the formal syntax above,
in the header of an actual message it may appear as 'From'
(as in the example), or 'from', or 'FrOm', etc.
(3) No attempt has been made to legislate the format of
<user>, except to exclude spaces from it.
(4) The time has no internal punctuation.
(5) No provision is made for multiple authors.
We recommend that mail-sending subsystems which prefix header
information to the text of the user's message be modified
2^L
NWG/RFC# 561 AKB KP RST JEW 5-SEP-73 11:19 18516
Standardizing Network Mail Headers RFC 561 / NIC 18516
appropriately, and that other hosts recommend the above
conventions to their users.
3^L
|