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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
|
Network Working Group Marc A. Elvy
Request for Comments: 915 Harvard University
Rudy Nedved
Carnegie-Mellon University
December 1984
NETWORK MAIL PATH SERVICE
STATUS OF THIS MEMO
This RFC proposes a new service for the ARPA-Internet community and
requests discussion and suggestions for improvements. Distribution
of this memo is unlimited.
INTRODUCTION
The network mail path service fills the current need of people to
determine mailbox addresses for hosts that are not part of the
ARPA-Internet but can be reached by one or more relay hosts that have
Unix To Unix Copy (UUCP) mail, CSNET mail, MAILNET mail, BITNET mail,
etc.
Anyone can use the service if they have TCP/TELNET to one of the
hosts with a mail path server.
DISCUSSION
Currently many hosts that are not connected to the ARPA-Internet
network can send mail to and receive mail from the ARPA-Internet
community. The ARPA-Internet community sends mail using mailbox
addresses of the form "user@host" or "local-part@domain" [1, 5]. In
an effort to provide service to hosts not connected directly to the
ARPA-Internet, mail maintainers have used the feature that the
"local-part" of the mailbox address is locally interpreted to imbed
specially encoded mail routing or relaying information. These
encoded mailbox addresses have a variety of forms and have become
common practice. For example:
demco%ucb-ean.cdn%ubc.csnet@CSNET-RELAY.ARPA
"Rudy.Nedved%CMCCTE@CARNEGIE.MAILNET"@MIT-MULTICS.ARPA
ihnp4!cmucsg!ern@UT-SALLY.ARPA
mss.dartmouth@CSNET-RELAY.ARPA
nedved%CMCCTF.BITNET@WISCVM.ARPA
It is important that people be able to communicate, but it is clear
from the rampant confusion and frustration that something must be
Elvy & Nedved [Page 1]
^L
RFC 915 Month Year
Network Mail Path Service
provided to make it easier for people to address mail to
non-ARPA-Internet hosts. The result, for a variety of reasons, has
been the work and development of the Domain Name system and
facilities [2, 3, 7, 9], and it is expected to make mailbox addresses
be as simple as the current ARPA-Internet mailbox format (e.g.,
"user@domain").
How do people discover the special encoded addresses for
non-ARPA-Internet host mailboxes until the domain name system is
working and covering the majority of hosts in the mail world? The
proposed solution to this problem is to provide a network service for
the ARPA-Internet and a mail service for the non-ARPA-Internet hosts
that, given a host and an optional addressing system or communication
protocol or some other piece of information, supplies the mailbox
address format for sending mail to that host. For example,
"nedved@Carnegie.MAILNET" would be translated by the server to
"nedved%Carnegie.MAILNET@MIT-MULTICS.ARPA". This memo covers the
proposed network service.
DOCUMENT CONVENTIONS
Unless otherwise noted, all numbers are in decimal.
The term "host", as used in this document, describes one computer
system which may have more than one name associated with it. It may
have a name for each network or mail connection it supports and may
have several nicknames or aliases for the computer and/or for each
set of network names that the computer has acquired.
OVERVIEW
The network service is a connection based application on TCP [4]. A
server listens for TCP connections on the assigned port of 117 [8].
It responds to the connection with a coded greeting message and waits
for a command line. For each command line sent to the server, the
server will respond with a coded message. The special command QUIT
causes the server to respond with a coded closing message and closes
the connection.
Elvy & Nedved [Page 2]
^L
RFC 915 Month Year
Network Mail Path Service
DESIGN GOALS
One of the goals is to provide the service to as many ARPA-Internet
hosts as possible. In the current ARPA-Internet, experience has shown
that software people first implement TELNET/TCP [6] before any other
network application or protocol. Therefore, it is a sub-goal that
people be able to access the service using available programs (with
minimal modifications) that implement TELNET/TCP. Therefore,
TELNET/TCP on port 117 will work correctly. The server understands
TELNET options but refuses all option negotiations that disagree with
the NVT characteristics defined by the TELNET protocol (see [6]),
does not echo, and expects command lines to end with <CRLF> (ASCII
code 13 (octal 15) followed by code 10 (octal 12)). Character
echoing and line editing is expected to be handled by the user host
for the benefit of the user.
Mail systems and other programs are also expected to be able to
access and understand the service. Each command reply can have
multiple line responses with text understandable by the novice user.
Each command is encoded so as to make it easy for a program to parse
the lines and extract interesting information, such as whether the
operation was successful.
THE PROTOCOL
Given the developing nature of the protocol and its intent, the
command lines are composed of a command (case ignored) followed by
white space, the argument(s) and a <CRLF>. The white space is
required if any arguments are supplied but the arguments are
optional. White space following the command and any optional
arguments are ignored.
<cmdline> := <cmd> [<WS> <args>] [<WS>] <CRLF>
<WS> := [<WS>] <WS> | <TAB> | <SPACE>
Coded response lines have the rigid format of a 3-digit decimal code
followed by a space or a dash followed by text composed of characters
within the ASCII range 32 to 126 (octal 40 to 176) with <CRLF> at the
end of the line. The dash after the 3-digit code indicates at least
one more response line will be supplied while the space indicates the
current response line is the last one.
<rspline> := <digit><digit><digit><cont><rtext><CRLF>
<cont> := <SPACE> | "-"
Elvy & Nedved [Page 3]
^L
RFC 915 Month Year
Network Mail Path Service
<rtext> := ASCII characters in the range 32 to 126.
Some of the successful response text to certain commands have rigid
formats so programs can extract path information. The commands that
have format restrictions are clearly noted and the response format is
documented with the command.
The response codes are in the range from 200 to 599 inclusively. The
following paragraphs provide the break down for each digit.
The first, most significant, digit is the success indicator. It
breaks down into the simple success and total failure responses but
includes the ability to communicate a temporary failure condition and
the need for further information that has worked so well for SMTP [5]
and other similiar protocols. The codes are:
2xx Positive reply.
3xx Intermedate reply. Positive acknowlegement but more
information is neccessary.
4xx Temporary error. Try again later.
5xx Permanent error. Do not retry.
The second digit is used to classify the response to provide a flavor
for certain types of success. The flavor is apparent in providing the
response on whether a host name is known by a domain name server or
not. The codes are:
x0x Command related response.
x1x Connection related response.
x2x Database related response.
x3x Domain transition related response.
x4x Data added response.
x5x Data deleted response.
x6x Data modified response.
Elvy & Nedved [Page 4]
^L
RFC 915 Month Year
Network Mail Path Service
BASIC IMPLEMENTATION
The minimum implementation is the support of three commands: HELP,
PATH and QUIT. The HELP command provides some level of documentation
and possibly lists the known addressing or communication protocols.
The PATH command takes as a required argument a user name or id
followed by a "@", followed by a domain style host name whose domain
components may be an addressing protocol, a communication
environment, or an unofficial or colloquial domain.
S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service.
S: 210 Type 'HELP' for help.
U: help
S: 200-The server currently knows about the following mail worlds:
S: 200- BITNET,UUCP,CSNET,.AC.UK,EARNET,JANET,CDNNET
S: 200-Use the PATH command with "user@host.world" to get the
S: 200 ARPA-Internet mail address.
U: path root@inria.uucp
S: 220 philabs!mcvax!inria!root@SEISMO.ARPA
U: quit
S: 211 Bye bye.
S: (server closes connection)
DETAILED PROTOCOL DESCRIPTION
The protocol is designed to provide a flexible but conservative
mechanism for providing responses and adding experimental or extended
commands.
<user connects to server>
The server responds with a message indicating the status of the
server and optional information.
210 Greeting message indicating the server is ready.
410 The server is down for some unknown reason for a short
time.
510 The server is unavailable.
HELP [<arg>]
The server can respond with general help information about the
server, about the specific topic described by "arg", or it can
Elvy & Nedved [Page 5]
^L
RFC 915 Month Year
Network Mail Path Service
indicate that something is temporarily wrong with the HELP
facility. It is strongly recomended that the general HELP
command documentation be implemented and expanded.
200 General or specific documentation given.
220 Documentation given from a database.
421 Service temporarily unavailable.
501 Command not implemented or topic not known.
PATH <user>@<host>
The server normally responds with either the mail path that
will work for the given mailbox address or indicates the domain
style host name is unknown. If the database is in transition or
inconsistent, a temporary or permanent error can be supplied.
220 Rigid format route given.
230 Rigid format route given. Domain servers should be
used.
420 Database problems. Try again later.
501 Invalid argument form or null argument given.
520 No such host found in database.
521 Host name is ambiguous.
When a route is supplied with the 2xx success responses. It has a
fixed format with a one-line response. The format is as follows:
<3-digit-code><SP><local-part>@<domain><CRLF>
The "local-part" and "domain" components are defined under the
SMTP protocol [5] and are intended to be used over SMTP
connections.
QUIT
Respond and close the server down.
211 Close the connection down.
Elvy & Nedved [Page 6]
^L
RFC 915 Month Year
Network Mail Path Service
One special code is reserved and is used for a special case. The code
is 412 and is sent when the server has been waiting for a response
for more then 2 minutes and has decided to timeout the connection.
After the "412 <timeout msg>" is sent, the server may close or
possibly abort the connection.
Because of the somewhat experimental nature of the server, additional
commands are expected to be added as they become needed. No
restrictions are placed on the names of these experimental commands
other then the must not conflict with the basic commands and are not
allowed to be abbreviated (i.e., "SEAR" can not be used for
"SEARCH").
PATH COMMAND ARGUMENTS
It is important to understand that the server is an aid to users that
may have minimal amount of information about the host. Therefore the
PATH command takes domain style host names that may be complete or
incomplete specifications for the host and may be common or
colloquial domain names. The servers look through the entire database
for anything that matches and try to find the best answer
disregarding any local domain information. If several hosts have the
same nickname or alias and lack distinguishing domain components, the
server returns an error response containing all of the hosts found.
Some implementation may even break down the host name and indicate in
error messages that even though it did not find the host, it found
something else that might be what the user wanted.
MAIL PATH SERVICE AND DOMAINS
As mentioned previously, the mail path service is not intended to be
a replacement or a parallel service to the domain name system. It is
a stop gap measure and, when most of the domain name system is in
place, will probably be disabled on some or most of the hosts with
the service.
Mail systems should check the domain name servers for the specified
host before trying a mail path server. The mail path servers should
be modified when one or more domain servers are in place to check if
a host is part of the domain system and to generate an error or an
indication (but still include the path information) if a host is
found to be a part of the domain system.
The names used by the mail path servers have no official standing in
the ARPA-Internet community and have colloquial origins. The domain
name components are based on the adminstrative entities involved
whereas many of the current unofficial common domain style names for
Elvy & Nedved [Page 7]
^L
RFC 915 Month Year
Network Mail Path Service
non-ARPA-Internet hosts are based on the protocol used, the relay
host used, or some acronym that someone dreamed up. Only a few of
the current domain style names that are privately in use are expected
to be used by the ARPA-Internet community when the domain name
service is in use by the majority of the ARPA-Internet community.
CAVEATS
The greatest problem with the new service, as implemented, is that it
reports paths from the service host rather than from the user's host.
This is due to the nature of software. It would be more convenient
if it reported a correct path from the caller's host, but this would
require a different method of database management (a method which
could quickly compute the path from the caller's machine or a machine
which would be willing to keep updated databases for each host (which
is impractical)).
Two minor problems exist with the database used by the software. Many
relay hosts exist in several different protocol or addressing name
spaces but under different names. The current software cross
referencing for the multiple protocol relay hosts is done by hand,
but, given the seeming reliability of these relay hosts, the problem
does not appear to be significant. The second problem is that the
data should be collected from the actual relay hosts to ensure
correctness, but in many cases this is impossible.
EXAMPLES
Find a route to CMU-CC-TE in the CARNEGIE part of MAILNET for user id
EN0C:
S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service
S: 210 Type 'HELP' for help.
U: path EN0C@CMU-CC-TE.CARNEGIE.MAILNET
S: 220 EN0C%CMU-CC-TE%CARNEGIE.MAILNET@MIT-MULTICS.ARPA
U: quit
S: 211 Bye bye.
S: (server closes connection)
Elvy & Nedved [Page 8]
^L
RFC 915 Month Year
Network Mail Path Service
Find a route to a host which has an unknown addressing system or
communication protocol and for which the name may be an alias:
S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service
S: 210 Type 'HELP' for help.
U: path mss@dartvax
S: 220 mss%dartmouth@CSNET-RELAY.ARPA
U: quit
S: 211 Bye bye.
S: (server closes connection)
Find a route to a host that is known by a very long domain style name
but is not in the current ARPA-Internet host tables:
S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service
S: 210 Type 'HELP' for help.
U: path rob@vax1.cent.lanc.ac.uk
S: 220 rob%vax1.cent.lanc@UCL-CS.ARPA
U: quit
S: 211 Bye bye.
S: (server closes connection)
Find a route to a host without any additional information and the
name is discovered to be ambiguous:
S: (server listens on port 117)
U: (user connects to port 117)
S: 210-Welcome to the CMU network mail path service
S: 210 Type 'HELP' for help.
U: path brad@pitt
S: 521-Several hosts found under the name of 'pitt', try one of:
S: 521-brad@pitt.UUCP
S: 521-brad@pitt.CSNET
U: path brad@pitt.CSNET
S: 220 brad%pitt@CSNET-RELAY.ARPA
U: quit
S: 211 Bye bye.
S: (server closes connection)
Elvy & Nedved [Page 9]
^L
RFC 915 Month Year
Network Mail Path Service
ACKNOWLEDGEMENTS
The original protocol was documented by Marc Elvy for a server that
he and Alan Langerman built. The server used the pathalias software
created by Steve Bellovin, as modified by Peter Honeyman and Robert
T. Morris, to maintain the host to host connection database. The
software provided a way for people to make sense out of the jungle of
UUCP hosts. The Info-Nets@MIT-MC mailing list, created and maintained
by Robert Krawitz, made the CMU and Harvard mail path projects aware
of each other and the people on the list provided many of the mail
relay databases that are in use by the mail path servers. The
original server may be accessed through TCP port 117 on harvard.arpa
-- the "pathto" program that runs under 4.2BSD UNIX may be obtained
as a front end to the server from RFC915@HARVARD.ARPA.
The current protocol scope was changed by Rudy Nedved to cover
BITNET, CSNET, MAILNET and other "mail networks" and further refined
by Marc Elvy, Alan Langerman and others.
Comments should be sent to RFC-915@HARVARD.ARPA or mailed (via the
U.S. Postal Service) to:
Marc A. Elvy
108 Aiken Computation Laboratory
33 Oxford Street
Harvard University
Cambridge, MA 02138
(617) 495-5849
Rudy Nedved
Department of Computer Science
Carnegie-Mellon University
Schenley Park
Pittsburgh, PA 15213
(412) 578-7685
Elvy & Nedved [Page 10]
^L
RFC 915 Month Year
Network Mail Path Service
REFERENCES
[1] Crocker, D. "Standard for the Format of ARPA Internet Text
Messages". RFC 822, Department of Electrical Engineering,
University of Delaware, August, 1982.
[2] Mockapetris, P. "Domain Names - Concepts and Facilities".
RFC 882, USC/Information Sciences Institute, Novemeber, 1983.
[3] Mockapetris, P. "Domain Names - Implementation Specification".
RFC 883, USC/Information Sciences Institute, Novemeber, 1983.
[4] Postel, J. "Transmission Control Protocol- DARPA Internet
Program Protocol Specification". RFC 793, USC/Information
Sciences Institute, September, 1981.
[5] Postel, J. "Simple Mail Transfer Prootcol". RFC 821,
USC/Information Sciences Institute, August, 1982.
[6] Postel, J., and J. Reynolds. "Telnet Protocol Specification".
RFC 854, USC/Information Sciences Institute, May, 1983.
[7] Postel, J. "Domain Name System Implementation Schedule".
RFC 897, USC/Information Sciences Institute, Feburary, 1984.
[8] Reynolds, J., and J. Postel. "Assigned Numbers". RFC 923,
USC/Information Sciences Institute, October, 1984.
[9] Su, Z., and Postel, J. "The Domain Naming Convention for
Internet User Applications". RFC 819, SRI International,
August, 1982.
Elvy & Nedved [Page 11]
^L
|