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
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
|
Independent Submission D. Wilson
Request for Comments: 8494 A. Melnikov, Ed.
Category: Informational Isode Ltd
ISSN: 2070-1721 November 2018
Multicast Email (MULE) over Allied Communications Publication (ACP) 142
Abstract
Allied Communications Publication (ACP) 142 defines P_MUL, which is a
protocol for reliable multicast suitable for bandwidth-constrained
and delayed acknowledgement (Emissions Control or "EMCON")
environments running over UDP. This document defines MULE (Multicast
Email), an application protocol for transferring Internet Mail
messages (as described in RFC 5322) over P_MUL (as defined in ACP
142). MULE enables transfer between Message Transfer Agents (MTAs).
It doesn't provide a service similar to SMTP Submission (as described
in RFC 6409).
This document explains how MULE can be used in conjunction with SMTP
(RFC 5321), including some common SMTP extensions, to provide an
alternate MTA-to-MTA transfer mechanism.
This is not an IETF specification; it describes an existing
implementation. It is provided in order to facilitate interoperable
implementations and third-party diagnostics.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This is a contribution to the RFC Series, independently of any other
RFC stream. The RFC Editor has chosen to publish this document at
its discretion and makes no statement about its value for
implementation or deployment. Documents approved for publication by
the RFC Editor are not candidates for any level of Internet Standard;
see Section 2 of RFC 7841.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
https://www.rfc-editor.org/info/rfc8494.
Wilson & Melnikov Informational [Page 1]
^L
RFC 8494 Email over ACP 142 November 2018
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document.
Table of Contents
1. Introduction ....................................................3
2. Conventions Used in This Document ...............................4
3. MULE ............................................................4
3.1. BSMTP-Like Payload Construction ............................6
3.2. Payload Compression ........................................7
3.3. Error Handling .............................................9
4. Gatewaying from Internet Mail to MULE ...........................9
4.1. Use of BDAT ...............................................10
5. Gatewaying from MULE to Internet Mail ..........................10
5.1. Handling of ESMTP Extensions and Errors ...................10
6. IANA Considerations ............................................11
6.1. Instructions for Designated Experts .......................11
6.2. SMTP Extension Support in MULE ............................12
7. Security Considerations ........................................14
8. References .....................................................15
8.1. Normative References ......................................15
8.2. Informative References ....................................17
Acknowledgements ..................................................19
Authors' Addresses ................................................19
Wilson & Melnikov Informational [Page 2]
^L
RFC 8494 Email over ACP 142 November 2018
1. Introduction
P_MUL [ACP142A] is a transport protocol for reliable multicast in
bandwidth-constrained and delayed acknowledgement environments
running on top of UDP. This document defines MULE, an application
protocol for transferring Internet Mail messages [RFC5322] over ACP
142 P_MUL. The objectives of MULE are 1) to take advantage of the
bandwidth-saving feature of using the multicast service as supported
by modern computer networks and 2) to allow message transfer under
EMCON (Emissions Control) conditions. EMCON or "radio silence" means
that although receiving nodes are able to receive messages, they are
not able to acknowledge the receipt of messages.
The objective of this protocol is to take advantage of multicast
communication for the transfer of messages between MTAs (Message
Transfer Agents) on a single multicast network under normal (i.e.,
dialog-oriented) communication conditions and under EMCON conditions.
An "EMCON condition" means that a receiving node is able to receive
messages but cannot acknowledge the received messages for a
relatively long time (hours or even days).
Figure 1 illustrates a simple multicast scenario, where the same
message has to be sent from MTA A (through G/W) to MTA 1, MTA 2, MTA
3, and MTA 4.
+-------+ +-------+
| MTA 1 |<-\ /->| MTA 3 |
+-------+ +-----+ +-------+ \ +-------+ / +-------+
| MTA A |<--->| G/W |<---------------->| Router|<
+-------+ +-----+ +-------+ / +-------+ \ +-------+
| MTA 2 |<-/ \->| MTA 4 |
+-------+ +-------+
|< -------------- MULE ---------------->|
Note: The gateway (G/W) and Router might or might not be running on
the same system.
Figure 1: Typical MULE Deployment
Due to multicast use (instead of a unicast communication service) in
the above MTA configuration, only one message transmission from the
gateway to the Router is required in order to reach MTA 1, MTA 2, MTA
3, and MTA 4, instead of four as required with unicast. This saves
the transmission three message transactions and thus results in
savings in bandwidth utilization. Depending on the network bandwidth
Wilson & Melnikov Informational [Page 3]
^L
RFC 8494 Email over ACP 142 November 2018
(in some radio networks, it is less than 9.6 Kb/s), this savings can
be of vital importance. The savings in bandwidth utilization become
even greater with every additional receiving MTA.
P_MUL employs a connectionless transport protocol to transmit
messages. This guarantees reliable message transfer (through ACP 142
retransmissions) even in cases where one or more of the receiving
MTAs are not able or allowed to acknowledge completely received
messages for a certain period of time.
This protocol specification requires fixed multicast groups and
knowledge of the group memberships in one or more multicast groups of
each participating node (MTA). Membership in multicast groups needs
to be established before MULE messages can be sent.
MULE enables MTA-to-MTA transfer. It doesn't provide service similar
to SMTP Submission [RFC6409].
2. Conventions Used in This Document
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here.
This document also uses terminology from [RFC5321] and [RFC5598].
3. MULE
MULE is an electronic mail transport of Internet Mail messages
[RFC5322] over an ACP 142 P_MUL network. It provides service similar
to MTA-to-MTA SMTP [RFC5321]. This document doesn't define a service
similar to SMTP Submission [RFC6409].
An important feature of MULE is its capability to transport mail
across multiple networks, referred to as "MULE mail relaying". A
network consists of the nodes that are mutually accessible by ACP
142. Using MULE, a process can transfer mail to another process on
the same ACP 142 network or to some other ACP 142 network via a relay
or gateway process accessible to both networks.
MULE reuses the ESMTP extension framework defined in [RFC5321]. MULE
servers MUST support the following ESMTP extensions: DSN [RFC3461],
SIZE [RFC1870], 8BITMIME [RFC6152], MT-PRIORITY [RFC6710], DELIVERBY
[RFC2852], BINARYMIME [RFC3030], and CHUNKING [RFC3030]. (As the
Wilson & Melnikov Informational [Page 4]
^L
RFC 8494 Email over ACP 142 November 2018
message content size can always be determined from the compression
wrapper and the size of the envelope, no special handling is needed
for binary messages.)
Relaying a message using MULE is performed as follows:
1. The message is reassembled from one or more DATA_PDUs [ACP142A].
2. If the contentType-ShortForm value is 25, the BSMTP-like payload
is extracted from the compressedContent field and uncompressed
(the reverse of the compression process specified in
Section 3.2). If the contentType-ShortForm value is not 25, it
is handled as described in [ACP142A]. This document doesn't
further discuss any cases where the contentType-ShortForm value
is not 25.
3. The list of recipients is extracted from RCPT-lines (see
Section 3.1). If the receiving node is not responsible (directly
or indirectly) for any of the recipients, the message is
discarded and no further processing is done.
4. The relay adds trace header fields, e.g., the Received header
field. See [RFC7601] and Section 4.4 of [RFC5321].
5. The set of ACP 142 destinations for the message is created by
extracting right-hand sides (hostnames) of each RCPT-line,
eliminating duplicates, and then converting each hostname into
the next ACP 142 destination using static configuration.
6. For each unique ACP 142 destination, the following steps are
performed:
A. A new BSMTP-like payload is formed, as described in
Section 3.1, that only contains RCPT-lines that correspond to
recipients that can receive mail through the ACP 142
destination.
B. The created payload is compressed and encoded as specified in
Section 3.2.
C. The compressed payload is sent by P_MUL as a series of an
Address_PDU and one or more DATA_PDUs. When the message has
an associated MT-PRIORITY value [RFC6710], the
MappedPriority(value) is included as the Priority field of
the corresponding ACP 142 PDUs, including Address_PDUs,
DATA_PDUs, and DISCARD_MESSAGE_PDUs. Here, MappedPriority(x)
is defined as "6 - x".
Wilson & Melnikov Informational [Page 5]
^L
RFC 8494 Email over ACP 142 November 2018
3.1. BSMTP-Like Payload Construction
MULE uses a BSMTP-like payload that differs from Batch SMTP (BSMTP)
[RFC2442] in that it eliminates unnecessary information. As with
BSMTP, ESMTP capability negotiation is not used, since receiver EMCON
restrictions prohibit such real-time interaction. For that reason,
there is no point in including EHLO capabilities. "MAIL FROM:" and
"RCPT TO:" prefixes are also excluded in order to save a few bytes.
For each received message, the corresponding BSMTP-like payload is
constructed as follows. Note that lines are terminated using CR LF.
1. The first line is what would be used for the data following "MAIL
FROM:" in the SMTP dialog, i.e., it contains the return-path
address (including the angle brackets -- "<" and ">") followed by
any ESMTP extension parameters to the MAIL FROM command.
2. After that, there is a separate line for each recipient of the
message. The value is what would follow "RCPT TO:" in the SMTP
dialog, i.e., the recipient address (including the angle brackets
-- "<" and ">") followed by any ESMTP extension parameters to the
corresponding RCPT TO command.
3. The list of recipients is terminated by an empty line (i.e., just
CR LF).
4. The message content follows the empty line. There is no need for
transparency ("dot stuffing") or terminating with a sequence "CR
LF . CR LF", as the end of the message content is indicated by
the end of the data (see Section 3.2 for more details).
The following is an example of a BSMTP-like payload:
<from@example.com> MT-PRIORITY=4 BODY=8BITMIME RET=HDRS ENVID=QQ314159
<to1@example.net> NOTIFY=FAILURE ORCPT=rfc822;Bob@ent.example.net
<to2@example.net> NOTIFY=SUCCESS,FAILURE
From: from@example.com
To: To1 <to1@example.net>, To2 <to2@example.net>
Date: 27 Apr 2017 16:17 +0100
Subject: a test
MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8bit
This is worth <poundsign>100
Wilson & Melnikov Informational [Page 6]
^L
RFC 8494 Email over ACP 142 November 2018
ABNF [RFC5234] for the BSMTP-like payload is:
bsmtp-like-payload = envelope CRLF payload
envelope = FROM-line 1*RCPT-line
FROM-line = reverse-path [SP mail-parameters] CRLF
RCPT-line = forward-path [SP rcpt-parameters] CRLF
payload = *OCTET
; Conforms to message syntax as defined in RFC 5322
; and extended in MIME
OCTET = <any 0-255 octet value>
reverse-path = <as defined in RFC 5321>
forward-path = <as defined in RFC 5321>
mail-parameters = <as defined in RFC 5321>
rcpt-parameters = <as defined in RFC 5321>
3.2. Payload Compression
A BSMTP-like payload (Section 3.1) is first compressed using
zlibCompress [RFC1950]. This compressed payload is placed in the
compressedContent field of the CompressedContentInfo element defined
in Section 4.2.6 of [STANAG-4406]. This is then encoded as BER
encoding [ITU.X690.2002] of the CompressedData ASN.1 structure. For
convenience, the original definition of the CompressedData ASN.1
structure is included below. The contentType-ShortForm value used by
MULE MUST be 25. (The contentType-OID alternative is never used by
MULE.)
The above procedure is similar to how X.400 messages are sent using
Annex E of [STANAG-4406]. This makes it easier to implement MTAs
that support both Internet messages and X.400 messages in the same
code base.
The Compressed Data Type (CDT) consists of content of any type that
is compressed using a specified algorithm. The following object
identifier identifies the CDT:
id-mmhs-CDT ID ::= { iso(1) identified-organization(3) nato(26)
stanags(0) mmhs(4406) object-identifiers(0)
id-mcont(4) 2 }
The CDT is defined by the following ASN.1 type. Note that this
definition is copied from [STANAG-4406] and is only reproduced here
for the reader's convenience.
Wilson & Melnikov Informational [Page 7]
^L
RFC 8494 Email over ACP 142 November 2018
DEFINITIONS ::=
BEGIN
CompressedData ::= SEQUENCE {
compressionAlgorithm CompressionAlgorithmIdentifier,
compressedContentInfo CompressedContentInfo
}
CompressionAlgorithmIdentifier ::= CHOICE {
algorithmID-ShortForm [0] AlgorithmID-ShortForm,
algorithmID-OID [1] OBJECT IDENTIFIER
}
AlgorithmID-ShortForm ::= INTEGER { zlibCompress (0) }
CompressedContentInfo ::= SEQUENCE {
CHOICE {
contentType-ShortForm [0] ContentType-ShortForm,
contentType-OID [1] OBJECT IDENTIFIER
},
compressedContent [0] EXPLICIT OCTET STRING
}
ContentType-ShortForm ::= INTEGER {
unidentified (0),
external (1), -- identified by the
-- object-identifier
-- of the EXTERNAL content
p1 (2),
p3 (3),
p7 (4)
}
END
This document effectively adds another enumeration choice to the
ContentType-ShortForm definition. The updated definition looks like
this:
ContentType-ShortForm ::= INTEGER {
unidentified (0),
external (1), -- identified by the
-- object-identifier
-- of the EXTERNAL content
p1 (2),
p3 (3),
p7 (4),
mule (25)
}
Wilson & Melnikov Informational [Page 8]
^L
RFC 8494 Email over ACP 142 November 2018
3.3. Error Handling
MULE doesn't allow a next-hop Message Transfer Agent / Mail Delivery
Agent (MTA/MDA) to return immediate Response Codes for the FROM-line
or any of the recipients in the RCPT-line. Therefore, when MTAs/MDAs
that are compliant with this specification receive a message that
can't be relayed further or delivered, they MUST generate a non-
delivery DSN report [RFC6522] message that includes the message/
delivery-status body part [RFC3464] and submit it using MULE to the
FROM-line return-path address.
MULE relays (unlike MULE MDAs) don't need to verify that they
understand all FROM-line and/or RCPT-line parameters. This keeps
relay-only implementations simpler and avoids the need to upgrade
them when MULE MDAs are updated to support extra SMTP extensions.
4. Gatewaying from Internet Mail to MULE
A gateway from Internet Mail to MULE acts as an SMTP server on the
receiving side and as a MULE client on the sending side.
When the content type for a message is an Internet message content
type (which may be 7-bit, 8-bit, or binary MIME), this is transported
using ACP 142 [ACP142A] as follows:
1. For each mail message, a BSMTP-like payload is formed, as
described in Section 3.1.
2. The created payload is compressed and encoded, as specified in
Section 3.2.
3. The compressed payload is sent by P_MUL as a series of an
Address_PDU and one or more DATA_PDUs. When the message has an
associated MT-PRIORITY value [RFC6710], the MappedPriority(value)
is included as the Priority field of the corresponding ACP 142
PDUs, including Address_PDUs, DATA_PDUs, and
DISCARD_MESSAGE_PDUs. Here, MappedPriority(x) is defined as "6 -
x".
The set of ACP 142 destinations for the message is derived from the
next-hop MTAs for each of the recipients.
Wilson & Melnikov Informational [Page 9]
^L
RFC 8494 Email over ACP 142 November 2018
4.1. Use of BDAT
If a message is received by a gateway through SMTP transfers using
the CHUNKING [RFC3030] extension, the message is rebuilt by the
receiving MTA into its complete form and is then used as a single
MULE message payload. Use of the BINARYMIME [RFC3030] extension is
conveyed by inclusion of the BODY=BINARY parameter in the FROM-line.
5. Gatewaying from MULE to Internet Mail
A gateway from MULE to Internet Mail acts as a MULE server on the
receiving side and as an SMTP client on the sending side.
Gatewaying from an ACP 142 environment to Internet Email is the
reverse of the process specified in Section 4.
1. The ACP 142 message is reassembled from one or more DATA_PDUs.
2. If the contentType-ShortForm value is 25, the BSMTP-like payload
is extracted from the compressedContent field and uncompressed
(the reverse of the compression process specified in
Section 3.2). If the contentType-ShortForm value is not 25, it
is handled as described in [ACP142A].
3. The BSMTP-like payload is converted to an SMTP transaction (see
Section 3.1). (The first line of the BSMTP-like payload is
prepended with "MAIL FROM:", and each following line (until the
empty line is encountered) is prepended with "RCPT TO:". After
skipping the empty delimiting line, the rest of the payload is
the message body. This can be sent using either DATA or a series
of BDAT commands, depending on the capabilities of the receiving
SMTP system. For example, the presence of the BODY=BINARY
parameter in the FROM-line would necessitate the use of BDAT or
down-conversion of the message to 7-bit compatible
representation.)
5.1. Handling of ESMTP Extensions and Errors
ESMTP extension parameters to MAIL FROM and RCPT TO SMTP commands
obtained from a BSMTP-like payload are processed according to
specifications of the corresponding ESMTP extensions. This includes
dealing with the absence of support for ESMTP extensions that
correspond to MAIL FROM and RCPT TO parameters found in the BSMTP-
like payload.
Failures to extract or uncompress BSMTP-like payloads should result
in the receiver discarding such payloads.
Wilson & Melnikov Informational [Page 10]
^L
RFC 8494 Email over ACP 142 November 2018
6. IANA Considerations
IANA has created a new "Multicast Email SMTP Extensions" registry
under the "MAIL Parameters" registry. The registration procedure for
this new registry is "Specification Required" [RFC8126]. The
designated expert(s) will be appointed and managed by the editors of
this document together with the Independent Submissions Editor.
Selected designated expert(s) should (collectively) have a good
knowledge of SMTP (and its extensions and extensibility mechanisms),
as well as ACP 142 and its limitations. The subsections below
provide more details: Section 6.1 specifies instructions for the
designated expert(s), and Section 6.2 defines the initial content of
the registry.
6.1. Instructions for Designated Experts
The designated expert(s) for the new "Multicast Email SMTP
Extensions" registry verifies that:
1. The requested SMTP extension is already registered in the "SMTP
Service Extensions" registry under the "MAIL Parameters" registry
on the IANA website or is well documented on a stable, publicly
accessible web page.
2. The requested SMTP extension has the correct status as specified
in Section 6.2. When deciding on status, the designated
expert(s) is provided with the following guidelines:
A. If the SMTP extension only affects commands other than MAIL
FROM and RCPT TO, then the status should be "N/A".
B. If the SMTP extension only applies to SMTP Submission
[RFC6409] (and not to SMTP relay or final SMTP delivery),
then the status should be "N/A".
C. If the SMTP extension changes which commands are allowed
during an SMTP transaction (e.g., if it adds commands
alternative to DATA or declares commands other than MAIL
FROM, RCPT TO, DATA, and BDAT to be a part of SMTP
transaction), then the status should be "Disallowed" or
"Special".
D. If the SMTP extension adds extra round trips during SMTP
transaction, then the status should be "Disallowed" or
"Special".
Wilson & Melnikov Informational [Page 11]
^L
RFC 8494 Email over ACP 142 November 2018
Registration requests should include the SMTP extension name, status
(see Section 6.2), and specification reference. They may also
include an optional note.
6.2. SMTP Extension Support in MULE
The following table summarizes how different SMTP extensions can be
used with MULE. Each extension has one of the following statuses:
o Required - support by MULE relays, SMTP-to-MULE gateway, or MULE-
to-SMTP gateway is required.
o Disallowed - incompatible with MULE.
o N/A - not relevant because the extension affects commands other
than MAIL FROM and/or RCPT TO or is only defined for SMTP
Submission [RFC6409]. Such extensions can still be used on the
receiving SMTP side of an SMTP-to-MULE gateway.
o Supported - can be used with MULE but requires bilateral agreement
between sender and receiver.
o Special - needs to be accompanied by an explanation.
Wilson & Melnikov Informational [Page 12]
^L
RFC 8494 Email over ACP 142 November 2018
+------------------------+---------------+-----------+
| SMTP Extension Keyword | Status | Reference |
+------------------------+---------------+-----------+
| SIZE | Required | [RFC1870] |
| | | |
| 8BITMIME | Required | [RFC6152] |
| | | |
| DSN | Required | [RFC3461] |
| | | |
| MT-PRIORITY | Required | [RFC6710] |
| | | |
| DELIVERBY | Required | [RFC2852] |
| | | |
| BINARYMIME | Required | [RFC3030] |
| | | |
| CHUNKING | Special (*) | [RFC3030] |
| | | |
| ENHANCEDSTATUSCODES | Special (**) | [RFC2034] |
| | | |
| RRVS | Supported | [RFC7293] |
| | | |
| SUBMITTER | Supported | [RFC4405] |
| | | |
| PIPELINING | N/A | [RFC2920] |
| | | |
| STARTTLS | N/A | [RFC3207] |
| | | |
| AUTH | Special (***) | [RFC4954] |
| | | |
| BURL | N/A | [RFC4468] |
| | | |
| NO-SOLICITING | N/A | [RFC3865] |
| | | |
| CHECKPOINT | Disallowed | [RFC1845] |
| | | |
| CONNEG | Disallowed | [RFC4141] |
+------------------------+---------------+-----------+
Table 1: Initial Content of Multicast Email SMTP Extensions Registry
(*) - SMTP CHUNKING MUST be supported on the receiving SMTP side of
an SMTP-to-MULE gateway and MAY be used on the sending side of a
MULE-to-SMTP gateway. A MULE relay doesn't need to do anything
special for this extension.
(**) - The ENHANCEDSTATUSCODES extension is supported by including
relevant status codes in DSN [RFC3461] reports.
Wilson & Melnikov Informational [Page 13]
^L
RFC 8494 Email over ACP 142 November 2018
(***) - The AUTH parameter to the MAIL FROM command is "Supported",
but the rest of the AUTH extension is not applicable to MULE.
Note that the above table is not exhaustive. Future RFCs can define
how SMTP extensions not listed above can be used in MULE.
7. Security Considerations
As MULE provides a service similar to SMTP, many of the security
considerations from [RFC5321] apply to MULE as well; in particular,
Sections 7.1, 7.2, 7.4, 7.6, 7.7, and 7.9 of [RFC5321] apply to MULE.
As MULE doesn't support capability negotiation or the SMTP HELP
command, Section 7.5 of [RFC5321] ("Information Disclosure in
Announcements") doesn't apply to MULE.
As MULE doesn't support the VRFY or EXPN SMTP commands, Section 7.3
of [RFC5321] ("VRFY, EXPN, and Security"), which discusses email
harvesting, doesn't apply to MULE.
Arguably, it is more difficult to cause an application-layer denial-
of-service attack on a MULE server than on an SMTP server. This is
partially due to the fact that ACP 142 is used in radio/wireless
networks with relatively low bandwidth and very long round-trip time
(especially if EMCON is in force). However, as MULE is using
multicast, multiple MULE nodes can receive the same message and spend
CPU resources processing it, even if the message is addressed to
recipients that are not going to be handled by such nodes. As MULE
lacks transport-layer source authentication, this can be abused by
malicious senders.
For security considerations related to use of zlib compression, see
[RFC6713].
Due to the multicast nature of MULE, it cannot use TLS or DTLS.
Accordingly, it does not support STARTTLS [RFC3207]. Users should
not depend on hop-by-hop confidentiality or integrity protection of
mail transferred among MULE MTAs (in the same way they can't
generally rely on the use of STARTTLS on SMTP MTA-to-MTA links) and
should consider the use of end-to-end protection, such as S/MIME
[RFC5750] [RFC5751].
S/MIME signatures and/or encryption survive gatewaying between MULE
and SMTP environments.
Wilson & Melnikov Informational [Page 14]
^L
RFC 8494 Email over ACP 142 November 2018
8. References
8.1. Normative References
[ACP142A] CCEB, "P_Mul - A Protocol for Reliable Multicast in
Bandwidth Constrained and Delayed Acknowledgement (EMCON)
Environments", ACP 142(A), October 2008.
[ITU.X690.2002]
ITU-T, "Information Technology - ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical
Encoding Rules (CER) and Distinguished Encoding Rules
(DER)", ITU-T Recommendation X.690, August 2015.
[RFC1870] Klensin, J., Freed, N., and K. Moore, "SMTP Service
Extension for Message Size Declaration", STD 10, RFC 1870,
DOI 10.17487/RFC1870, November 1995,
<https://www.rfc-editor.org/info/rfc1870>.
[RFC1950] Deutsch, P. and J-L. Gailly, "ZLIB Compressed Data Format
Specification version 3.3", RFC 1950,
DOI 10.17487/RFC1950, May 1996,
<https://www.rfc-editor.org/info/rfc1950>.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
[RFC2852] Newman, D., "Deliver By SMTP Service Extension", RFC 2852,
DOI 10.17487/RFC2852, June 2000,
<https://www.rfc-editor.org/info/rfc2852>.
[RFC3030] Vaudreuil, G., "SMTP Service Extensions for Transmission
of Large and Binary MIME Messages", RFC 3030,
DOI 10.17487/RFC3030, December 2000,
<https://www.rfc-editor.org/info/rfc3030>.
[RFC3461] Moore, K., "Simple Mail Transfer Protocol (SMTP) Service
Extension for Delivery Status Notifications (DSNs)",
RFC 3461, DOI 10.17487/RFC3461, January 2003,
<https://www.rfc-editor.org/info/rfc3461>.
[RFC3464] Moore, K. and G. Vaudreuil, "An Extensible Message Format
for Delivery Status Notifications", RFC 3464,
DOI 10.17487/RFC3464, January 2003,
<https://www.rfc-editor.org/info/rfc3464>.
Wilson & Melnikov Informational [Page 15]
^L
RFC 8494 Email over ACP 142 November 2018
[RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax
Specifications: ABNF", STD 68, RFC 5234,
DOI 10.17487/RFC5234, January 2008,
<https://www.rfc-editor.org/info/rfc5234>.
[RFC5321] Klensin, J., "Simple Mail Transfer Protocol", RFC 5321,
DOI 10.17487/RFC5321, October 2008,
<https://www.rfc-editor.org/info/rfc5321>.
[RFC5322] Resnick, P., Ed., "Internet Message Format", RFC 5322,
DOI 10.17487/RFC5322, October 2008,
<https://www.rfc-editor.org/info/rfc5322>.
[RFC5598] Crocker, D., "Internet Mail Architecture", RFC 5598,
DOI 10.17487/RFC5598, July 2009,
<https://www.rfc-editor.org/info/rfc5598>.
[RFC6152] Klensin, J., Freed, N., Rose, M., and D. Crocker, Ed.,
"SMTP Service Extension for 8-bit MIME Transport", STD 71,
RFC 6152, DOI 10.17487/RFC6152, March 2011,
<https://www.rfc-editor.org/info/rfc6152>.
[RFC6522] Kucherawy, M., Ed., "The Multipart/Report Media Type for
the Reporting of Mail System Administrative Messages",
STD 73, RFC 6522, DOI 10.17487/RFC6522, January 2012,
<https://www.rfc-editor.org/info/rfc6522>.
[RFC6710] Melnikov, A. and K. Carlberg, "Simple Mail Transfer
Protocol Extension for Message Transfer Priorities",
RFC 6710, DOI 10.17487/RFC6710, August 2012,
<https://www.rfc-editor.org/info/rfc6710>.
[RFC6713] Levine, J., "The 'application/zlib' and 'application/gzip'
Media Types", RFC 6713, DOI 10.17487/RFC6713, August 2012,
<https://www.rfc-editor.org/info/rfc6713>.
[RFC7601] Kucherawy, M., "Message Header Field for Indicating
Message Authentication Status", RFC 7601,
DOI 10.17487/RFC7601, August 2015,
<https://www.rfc-editor.org/info/rfc7601>.
[RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for
Writing an IANA Considerations Section in RFCs", BCP 26,
RFC 8126, DOI 10.17487/RFC8126, June 2017,
<https://www.rfc-editor.org/info/rfc8126>.
Wilson & Melnikov Informational [Page 16]
^L
RFC 8494 Email over ACP 142 November 2018
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>.
[STANAG-4406]
NATO, "Military Message Handling System", STANAG 4406 Ed.
2, March 2005.
8.2. Informative References
[RFC1845] Crocker, D., Freed, N., and A. Cargille, "SMTP Service
Extension for Checkpoint/Restart", RFC 1845,
DOI 10.17487/RFC1845, September 1995,
<https://www.rfc-editor.org/info/rfc1845>.
[RFC2034] Freed, N., "SMTP Service Extension for Returning Enhanced
Error Codes", RFC 2034, DOI 10.17487/RFC2034, October
1996, <https://www.rfc-editor.org/info/rfc2034>.
[RFC2442] Freed, N., Newman, D., Belissent, J., and M. Hoy, "The
Batch SMTP Media Type", RFC 2442, DOI 10.17487/RFC2442,
November 1998, <https://www.rfc-editor.org/info/rfc2442>.
[RFC2920] Freed, N., "SMTP Service Extension for Command
Pipelining", STD 60, RFC 2920, DOI 10.17487/RFC2920,
September 2000, <https://www.rfc-editor.org/info/rfc2920>.
[RFC3207] Hoffman, P., "SMTP Service Extension for Secure SMTP over
Transport Layer Security", RFC 3207, DOI 10.17487/RFC3207,
February 2002, <https://www.rfc-editor.org/info/rfc3207>.
[RFC3865] Malamud, C., "A No Soliciting Simple Mail Transfer
Protocol (SMTP) Service Extension", RFC 3865,
DOI 10.17487/RFC3865, September 2004,
<https://www.rfc-editor.org/info/rfc3865>.
[RFC4141] Toyoda, K. and D. Crocker, "SMTP and MIME Extensions for
Content Conversion", RFC 4141, DOI 10.17487/RFC4141,
November 2005, <https://www.rfc-editor.org/info/rfc4141>.
[RFC4405] Allman, E. and H. Katz, "SMTP Service Extension for
Indicating the Responsible Submitter of an E-Mail
Message", RFC 4405, DOI 10.17487/RFC4405, April 2006,
<https://www.rfc-editor.org/info/rfc4405>.
[RFC4468] Newman, C., "Message Submission BURL Extension", RFC 4468,
DOI 10.17487/RFC4468, May 2006,
<https://www.rfc-editor.org/info/rfc4468>.
Wilson & Melnikov Informational [Page 17]
^L
RFC 8494 Email over ACP 142 November 2018
[RFC4954] Siemborski, R., Ed. and A. Melnikov, Ed., "SMTP Service
Extension for Authentication", RFC 4954,
DOI 10.17487/RFC4954, July 2007,
<https://www.rfc-editor.org/info/rfc4954>.
[RFC5750] Ramsdell, B. and S. Turner, "Secure/Multipurpose Internet
Mail Extensions (S/MIME) Version 3.2 Certificate
Handling", RFC 5750, DOI 10.17487/RFC5750, January 2010,
<https://www.rfc-editor.org/info/rfc5750>.
[RFC5751] Ramsdell, B. and S. Turner, "Secure/Multipurpose Internet
Mail Extensions (S/MIME) Version 3.2 Message
Specification", RFC 5751, DOI 10.17487/RFC5751, January
2010, <https://www.rfc-editor.org/info/rfc5751>.
[RFC6409] Gellens, R. and J. Klensin, "Message Submission for Mail",
STD 72, RFC 6409, DOI 10.17487/RFC6409, November 2011,
<https://www.rfc-editor.org/info/rfc6409>.
[RFC7293] Mills, W. and M. Kucherawy, "The Require-Recipient-Valid-
Since Header Field and SMTP Service Extension", RFC 7293,
DOI 10.17487/RFC7293, July 2014,
<https://www.rfc-editor.org/info/rfc7293>.
Wilson & Melnikov Informational [Page 18]
^L
RFC 8494 Email over ACP 142 November 2018
Acknowledgements
Thank you to Steve Kille for suggestions, comments, and corrections
on this document. An additional thank you goes to Barry Leiba, Sean
Turner, Dave Crocker, and Nick Hudson for reviews and comments on
this document.
Some text was borrowed from "P_Mul: An Application Protocol for the
Transfer of Messages over Multicast Subnetworks and under EMCON
Restrictions" (September 1997); we gratefully acknowledge the work of
the authors of that document.
Authors' Addresses
David Wilson
Isode Ltd
14 Castle Mews
Hampton, Middlesex TW12 2NP
United Kingdom
Email: David.Wilson@isode.com
Alexey Melnikov (editor)
Isode Ltd
14 Castle Mews
Hampton, Middlesex TW12 2NP
United Kingdom
Email: Alexey.Melnikov@isode.com
Wilson & Melnikov Informational [Page 19]
^L
|