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
|
Network Working Group R. Ullmann
Request for Comments: 1090 Prime Computer, Inc.
February 1989
SMTP on X.25
1. Status of this Memo
This memo proposes a standard for SMTP on the virtual circuit
facility provided by the X.25 standard of the CCITT.
Distribution of this memo is unlimited.
2. Introduction
The possibility of using the X.25 virtual circuit (ISO level 3)
directly for SMTP is mentioned in RFC 821 ("SIMPLE MAIL TRANSPORT
PROTOCOL"), in appendix D. It suggests that "a reliable end-to-end
protocol such as TCP be used on top of X.25 connections". This was
undoubtedly true considering the general reliability of the PSDNs at
the time (1981). The service is now (in 1989) reliable enough to
allow practical direct use of the virtual circuit service.
The procedures given here have proven to be successful in extensive
production use, involving 24 PSDNs in 22 different countries. The
resulting service is economical even using some of the more expensive
PSDNs. Operation over private X.25 connections and X.25 LANs has
also proven successful.
An X.25 virtual circuit (VC) is opened for each SMTP session. The
full duplex channel provided by the VC is used for the session. The
VC is then closed, normally by the calling side.
3. Protocol ID and Call User Data
The first four octets (bytes) of the Call User Data Field, which are
commonly used as a protocol identifier, or PRID, should be (hex)
C0F70000. (In decimal, 192 247 0 0.)
Implementations should, however, provide the ability to configure the
call user data on a per-address basis, including the protocol ID
field.
4. Data stream
The SMTP data is divided into (streamed into) packets in any way the
sending side prefers. Sequences with the M bit (more data) set are
Ullmann [Page 1]
^L
RFC 1090 SMTP on X.25 February 1989
encouraged, and may be up to 2048 bytes in total length.
It is recommended that SMTP commands and responses be sent as single
packets, or single more-data sequences, if only to facilitate
debugging the protocol. This is not a requirement.
5. Qualified data
Packets with the Q bit set and interrupt packets are not used, and
should be ignored if received.
6. Circuit resets
If a level 3 circuit reset is received, the VC should be cleared, and
the SMTP connection attempted again. The retry may be after some
delay, and may be with different call facilities.
7. Call facilities
Any negotiable features selected by the X.25 call request facilities
field may be used. Implementations should provide the ability to
specify facilities for each called address.
8. Character code
The character code used on X.25 is the full ASCII-8 code, with no
escapes or modifications. Lines are terminated by CRLF (13 10
decimal). Implementations should, if possible, recognize lines
terminated only by LF (10 decimal).
9. Closing the connection
Unlike TCP, X.25 does not provide for synchronous delivery of data in
transit when a clear request is in progress; any packets in transit
are discarded when the VC is cleared. Therefore, on X.25, the SMTP
session layer is closed by the calling side when the Service Closing
message is received, either in response to a QUIT command, or because
the service must shut down.
10. Timeouts
SMTP does not normally provide for timing out a session. On X.25,
the following has proven to be effective:
10.1. call request
If a call accept is not received within 100 seconds, or the
Service Ready message is not received within (another) 120
Ullmann [Page 2]
^L
RFC 1090 SMTP on X.25 February 1989
seconds, the call should be cleared and retried later.
10.2. established
After the protocol session is established, the circuit should
be cleared if no response is received for 10 minutes.
10.3. closing
After the QUIT command is issued, the timeout should be
shortened to 20 seconds. This will sometimes cause an
ungraceful exit, but this will not affect the SMTP transactions
already completed.
10.4. clearing
When the X.25 Clear Request packet has been sent, the VC should
be timed out in accordance with the X.25 protocol
specification.
11. Other features
Other features of X.25, such as permanent virtual circuits and
D bit selection, are not used.
References
[1] Postel, J., "Simple Mail Transfer Protocol", RFC 821, USC
Information Sciences Institute, August 1982.
[2] CCITT Recommendation X.25, "Interface Between Data
Terminal Equipment (DTE) and Data Circuit-Terminating
Equipment (DCE) for Terminals Operating in the Packet
Mode and Connected to Public Data Networks by Dedicated
Circuit", International Telegraph and Telephone Consultative
Committee, Fascicle VIII.3, Geneva, 1976; amended at
Geneva, 1980 and Malaga-Torremolinos, 1984. ("Red Book")
Author's Address
Robert Ullmann 23A-32
Prime Computer, Inc.
Technology Drive
Milford, MA 01757
Phone: +1 508 478 8600 x1736
Email: Ariel@Relay.Prime.COM
Ullmann [Page 3]
^L
RFC 1090 SMTP on X.25 February 1989
Ullmann [Page 4]
^L
|