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 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565
|
<pre>Network Working Group R. Fajman
Request for Comments: 2298 National Institutes of Health
Category: Standards Track March 1998
<span class="h1">An Extensible Message Format</span>
<span class="h1">for Message Disposition Notifications</span>
Status of this Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (1998). All Rights Reserved.
Abstract
This memo defines a MIME content-type that may be used by a mail user
agent (UA) or electronic mail gateway to report the disposition of a
message after it has been sucessfully delivered to a recipient. This
content-type is intended to be machine-processable. Additional
message headers are also defined to permit Message Disposition
Notifications (MDNs) to be requested by the sender of a message. The
purpose is to extend Internet Mail to support functionality often
found in other messaging systems, such as X.400 and the proprietary
"LAN-based" systems, and often referred to as "read receipts,"
"acknowledgements," or "receipt notifications." The intention is to
do this while respecting the privacy concerns that have often been
expressed when such functions have been discussed in the past.
Because many messages are sent between the Internet and other
messaging systems (such as X.400 or the proprietary "LAN-based"
systems), the MDN protocol is designed to be useful in a multi-
protocol messaging environment. To this end, the protocol described
in this memo provides for the carriage of "foreign" addresses, in
addition to those normally used in Internet Mail. Additional
attributes may also be defined to support "tunneling" of foreign
notifications through Internet Mail.
<span class="grey">Fajman Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ............................................ <a href="#page-2">2</a>
<a href="#section-2">2</a>. Requesting Message Disposition Notifications ............ <a href="#page-3">3</a>
<a href="#section-3">3</a>. Format of a Message Disposition Notification ............ <a href="#page-7">7</a>
<a href="#section-4">4</a>. Timeline of events ...................................... <a href="#page-17">17</a>
<a href="#section-5">5</a>. Conformance and Usage Requirements ...................... <a href="#page-18">18</a>
<a href="#section-6">6</a>. Security Considerations ................................. <a href="#page-19">19</a>
<a href="#section-7">7</a>. Collected Grammar ....................................... <a href="#page-20">20</a>
<a href="#section-8">8</a>. Guidelines for Gatewaying MDNs .......................... <a href="#page-22">22</a>
<a href="#section-9">9</a>. Example ................................................. <a href="#page-24">24</a>
<a href="#section-10">10</a>. IANA Registration Forms ................................. <a href="#page-25">25</a>
<a href="#section-11">11</a>. Acknowledgments ......................................... <a href="#page-26">26</a>
<a href="#section-12">12</a>. References .............................................. <a href="#page-26">26</a>
<a href="#section-13">13</a>. Author's Address ........................................ <a href="#page-27">27</a>
<a href="#section-14">14</a>. Copyright ............................................... <a href="#page-28">28</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This memo defines a MIME content-type [<a href="#ref-5" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">5</a>] for message disposition
notifications (MDNs). An MDN can be used to notify the sender of a
message of any of several conditions that may occur after successful
delivery, such as display of the message contents, printing of the
message, deletion (without display) of the message, or the
recipient's refusal to provide MDNs. The "message/disposition-
notification" content-type defined herein is intended for use within
the framework of the "multipart/report" content type defined in <a href="./rfc1892">RFC</a>
<a href="./rfc1892">1892</a> [<a href="#ref-7" title=""The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages"">7</a>].
This memo defines the format of the notifications and the <a href="./rfc822">RFC 822</a>
headers used to request them.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a>.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a> Purposes</span>
The MDNs defined in this memo are expected to serve several purposes:
(a) Inform human beings of the disposition of messages after
succcessful delivery, in a manner which is largely independent
of human language;
(b) Allow mail user agents to keep track of the disposition of
messages sent, by associating returned MDNs with earlier message
transmissions;
<span class="grey">Fajman Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
(c) Convey disposition notification requests and disposition
notifications between Internet Mail and "foreign" mail systems
via a gateway;
(d) Allow "foreign" notifications to be tunneled through a MIME-
capable message system and back into the original messaging
system that issued the original notification, or even to a third
messaging system;
(e) Allow language-independent, yet reasonably precise, indications
of the disposition of a message to be delivered.
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a> Requirements</span>
These purposes place the following constraints on the notification
protocol:
(a) It must be readable by humans, as well as being machine-
parsable.
(b) It must provide enough information to allow message senders (or
their user agents) to unambiguously associate an MDN with the
message that was sent and the original recipient address for
which the MDN is issued (if such information is available), even
if the message was forwarded to another recipient address.
(c) It must also be able to describe the disposition of a message
independent of any particular human language or of the
terminology of any particular mail system.
(d) The specification must be extensible in order to accomodate
future requirements.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requesting Message Disposition Notifications</span>
Message disposition notifications are requested by including a
Disposition-Notification-To header in the message. Further
information to be used by the recipient's UA in generating the MDN
may be provided by including Original-Recipient and/or Disposition-
Notification-Options headers in the message.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a> The Disposition-Notification-To Header</span>
A request that the receiving user agent issue message disposition
notifications is made by placing a Disposition-Notification-To header
into the message. The syntax of the header, using the ABNF of <a href="./rfc822">RFC</a>
<a href="./rfc822">822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>], is
<span class="grey">Fajman Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
mdn-request-header = "Disposition-Notification-To" ":" 1#mailbox
The mailbox token is as specified in <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>].
The presence of a Disposition-Notification-To header in a message is
merely a request for an MDN. The recipients' user agents are always
free to silently ignore such a request. Alternatively, an explicit
denial of the request for information about the disposition of the
message may be sent using the "denied" disposition in an MDN.
An MDN MUST NOT itself have a Disposition-Notification-To header.
An MDN MUST NOT be generated in response to an MDN.
At most one MDN may be issued on behalf of each particular recipient
by their user agent. That is, once an MDN has been issued on behalf
of a recipient, no further MDNs may be issued on behalf of that
recipient, even if another disposition is performed on the message.
However, if a message is forwarded, an MDN may been issued for the
recipient doing the forwarding and the recipient of the forwarded
message may also cause an MDN to be generated.
While Internet standards normally do not specify the behavior of user
interfaces, it is strongly recommended that the user agent obtain the
user's consent before sending an MDN. This consent could be obtained
for each message through some sort of prompt or dialog box, or
globally through the user's setting of a preference. The user might
also indicate globally that MDNs are never to be sent or that a
"denied" MDN is always sent in response to a request for an MDN.
MDNs SHOULD NOT be sent automatically if the address in the
Disposition-Notification-To header differs from the address in the
Return-Path header (see <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>]). In this case, confirmation
from the user SHOULD be obtained, if possible. If obtaining consent
is not possible (e.g., because the user is not online at the time),
then an MDN SHOULD NOT be sent.
Confirmation from the user SHOULD be obtained (or no MDN sent) if
there is no Return-Path header in the message, or if there is more
than one distinct address in the Disposition-Notification-To header.
The comparison of the addresses should be done using only the addr-
spec (local-part "@" domain) portion, excluding any phrase and route.
The comparison MUST be case-sensitive for the local-part and case-
insensitive for the domain part.
If the message contains more than one Return-Path header, the
implementation may pick one to use for the comparison, or treat the
situation as a failure of the comparison.
<span class="grey">Fajman Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
The reason for not automatically sending an MDN if the comparison
fails or more than one address is specified is to reduce the
possibilities for mail loops and use of MDNs for mail bombing.
A message that contains a Disposition-Notification-To header SHOULD
also contain a Message-ID header as specified in <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>]. This
will permit automatic correlation of MDNs with original messages by
user agents.
If it is desired to request message disposition notifications for
some recipients and not others, two copies of the message should be
sent, one with an Disposition-Notification-To header and one without.
Many of the other headers of the message (e.g., To, cc) will be the
same in both copies. The recipients in the respective message
envelopes determine for whom message disposition notifications are
requested and for whom they are not. If desired, the Message-ID
header may be the same in both copies of the message. Note that
there are other situations (e.g., bcc) in which it is necessary to
send multiple copies of a message with slightly different headers.
The combination of such situations and the need to request MDNs for a
subset of all recipients may result in more than two copies of a
message being sent, some with a Disposition- Notification-To header
and some without.
Messages posted to newsgroups SHOULD NOT have a Disposition-
Notification-To header.
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a> The Disposition-Notification-Options Header</span>
Future extensions to this specification may require that information
be supplied to the recipient's UA for additional control over how and
what MDNs are generated. The Disposition-Notification-Options header
provides an extensible mechanism for such information. The syntax of
this header, using the ABNF of <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>], is
Disposition-Notification-Options =
"Disposition-Notification-Options" ":"
disposition-notification-parameters
disposition-notification-parameters = parameter *(";" parameter)
parameter = attribute "=" importance "," 1#value
importance = "required" / "optional"
The definitions of attribute and value are as in the definition of
the Content-Type header in <a href="./rfc2045">RFC 2045</a> [<a href="#ref-4" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">4</a>].
<span class="grey">Fajman Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
An importance of "required" indicates that interpretation of the
parameter is necessary for proper generation of an MDN in response to
this request. If a UA does not understand the meaning of the
parameter, it MUST NOT generate an MDN with any disposition type
other than "failed" in response to the request. An importance of
"optional" indicates that a UA that does not understand the meaning
of this parameter MAY generate an MDN in response anyway, ignoring
the value of the parameter.
No parameters are defined in this specification. Parameters may be
defined in the future by later revisions or extensions to this
specification. Parameter attribute names beginning with "X-" will
never be defined as standard names; such names are reserved for
experimental use. MDN parameter names not beginning with "X-" MUST
be registered with the Internet Assigned Numbers Authority (IANA) and
described in a standards-track RFC or an experimental RFC approved by
the IESG. See <a href="#section-10">Section 10</a> for a registration form.
If a required parameter is not understood or contains some sort of
error, the receiving UA SHOULD issue an MDN with a disposition type
of "failed" (see <a href="#section-3.2.6">Section 3.2.6</a>) and include a Failure field (see
<a href="#section-3.2.7">Section 3.2.7</a>) that further describes the problem. MDNs with the a
disposition type of "failed" and a "Failure" field MAY also be
generated when other types of errors are detected in the parameters
of the Disposition-Notification-Options header.
However, an MDN with a disposition type of "failed" MUST NOT be
generated if the user has indicated a preferance that MDNs are not to
be sent. If user consent would be required for an MDN of some other
disposition type to be sent, user consent SHOULD also be obtained
before sending an MDN with a disposition type of "failed".
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a> The Original-Recipient Header</span>
Since electronic mail addresses may be rewritten while the message is
in transit, it is useful for the original recipient address to be
made available by the delivering MTA. The delivering MTA may be able
to obtain this information from the ORCPT parameter of the SMTP RCPT
TO command, as defined in <a href="./rfc1891">RFC 1891</a> [<a href="#ref-8" title=""SMTP Service Extension for Delivery Status Notifications"">8</a>]. If this information is
available, the delivering MTA SHOULD insert an Original-Recipient
header at the beginning of the message (along with the Return-Path
header). The delivering MTA MAY delete any other Original-Recipient
headers that occur in the message. The syntax of this header, using
the ABNF of <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>], is as follows
original-recipient-header =
"Original-Recipient" ":" address-type ";" generic-address
<span class="grey">Fajman Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
The address-type and generic-address token are as as specified in the
description of the Original-Recipient field in <a href="#section-3.2.3">section 3.2.3</a>.
The purpose of carrying the original recipient information and
returning it in the MDN is to permit automatic correlation of MDNs
with the original message on a per-recipient basis.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a> Use with the Message/Partial Content Type</span>
The use of the headers Disposition-Notification-To, Disposition-
Notification-Options, and Original-Recipient with the MIME
Message/partial content type (<a href="./rfc2046">RFC 2046</a> [<a href="#ref-5" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">5</a>]) requires further
definition.
When a message is segmented into two or more message/partial
fragments, the three headers mentioned in the above paragraph SHOULD
be placed in the "inner" or "enclosed" message (using the terms of
<a href="./rfc2046">RFC 2046</a> [<a href="#ref-5" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">5</a>]). These headers SHOULD NOT be used in the headers of
any of the fragments themselves.
When the multiple message/partial fragments are reassembled, the
following applies. If these headers occur along with the other
headers of a message/partial fragment message, they pertain to an MDN
to be generated for the fragment. If these headers occur in the
headers of the "inner" or "enclosed" message (using the terms of <a href="./rfc2046">RFC</a>
<a href="./rfc2046">2046</a> [<a href="#ref-5" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">5</a>]), they pertain to an MDN to be generated for the reassembled
message. <a href="./rfc2046#section-5.2.2.1">Section 5.2.2.1 of RFC 2046</a> [<a href="#ref-5" title=""Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types"">5</a>]) is amended to specify
that, in addition to the headers specified there, the three headers
described in this specification are to be appended, in order, to the
headers of the reassembled message. Any occurances of the three
headers defined here in the headers of the initial enclosing message
must not be copied to the reassembled message.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Format of a Message Disposition Notification</span>
A message disposition notification is a MIME message with a top-
level content-type of multipart/report (defined in <a href="./rfc1892">RFC 1892</a> [<a href="#ref-7" title=""The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages"">7</a>]).
When a multipart/report content is used to transmit an MDN:
(a) The report-type parameter of the multipart/report content is
"disposition-notification".
(b) The first component of the multipart/report contains a human-
readable explanation of the MDN, as described in <a href="./rfc1892">RFC 1892</a> [<a href="#ref-7" title=""The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages"">7</a>].
(c) The second component of the multipart/report is of content-type
message/disposition-notification, described in <a href="#section-3.1">section 3.1</a> of
this document.
<span class="grey">Fajman Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
(d) If the original message or a portion of the message is to be
returned to the sender, it appears as the third component of the
multipart/report. The decision of whether or not to return the
message or part of the message is up to the UA generating the
MDN. However, in the case of encrypted messages requesting
MDNs, encrypted message text MUST be returned, if it is returned
at all, only in its original encrypted form.
NOTE: For message dispostion notifications gatewayed from
foreign systems, the headers of the original message may not be
available. In this case the third component of the MDN may be
omitted, or it may contain "simulated" <a href="./rfc822">RFC 822</a> headers which
contain equivalent information. In particular, it is very
desirable to preserve the subject and date fields from the
original message.
The MDN MUST be addressed (in both the message header and the
transport envelope) to the address(es) from the Disposition-
Notification-To header from the original message for which the MDN is
being generated.
The From field of the message header of the MDN MUST contain the
address of the person for whom the message disposition notification
is being issued.
The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be
null (<>), specifying that no Delivery Status Notification messages
or other messages indicating successful or unsuccessful delivery are
to be sent in response to an MDN.
A message disposition notification MUST NOT itself request an MDN.
That is, it MUST NOT contain a Disposition-Notification-To header.
The Message-ID header (if present) for an MDN MUST be different from
the Message-ID of the message for which the MDN is being issued.
A particular MDN describes the disposition of exactly one message for
exactly one recipient. Multiple MDNs may be generated as a result of
one message submission, one per recipient. However, due to the
circumstances described in <a href="#section-2.1">Section 2.1</a>, MDNs may not be generated for
some recipients for which MDNs were requested.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a> The message/disposition-notification content-type</span>
The message/disposition-notification content-type is defined as
follows:
MIME type name: message
<span class="grey">Fajman Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
MIME subtype name: disposition-notification
Optional parameters: none
Encoding considerations: "7bit" encoding is sufficient and
MUST be used to maintain readability
when viewed by non-MIME mail
readers.
Security considerations: discussed in <a href="#section-6">section 6</a> of this memo.
The message/disposition-notification report type for use in the
multipart/report is "disposition-notification".
The body of a message/disposition-notification consists of one or
more "fields" formatted according to the ABNF of <a href="./rfc822">RFC 822</a> header
"fields" (see [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>]). Using the ABNF of <a href="./rfc822">RFC 822</a>, the syntax of the
message/disposition-notification content is as follows:
disposition-notification-content = [ reporting-ua-field CRLF ]
[ mdn-gateway-field CRLF ]
[ original-recipient-field CRLF ]
final-recipient-field CRLF
[ original-message-id-field CRLF ]
disposition-field CRLF
*( failure-field CRLF )
*( error-field CRLF )
*( warning-field CRLF )
*( extension-field CRLF )
<span class="h4"><a class="selflink" id="section-3.1.1" href="#section-3.1.1">3.1.1</a> General conventions for fields</span>
Since these fields are defined according to the rules of <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>],
the same conventions for continuation lines and comments apply.
Notification fields may be continued onto multiple lines by beginning
each additional line with a SPACE or HTAB. Text which appears in
parentheses is considered a comment and not part of the contents of
that notification field. Field names are case-insensitive, so the
names of notification fields may be spelled in any combination of
upper and lower case letters. Comments in notification fields may
use the "encoded-word" construct defined in <a href="./rfc2047">RFC 2047</a> [<a href="#ref-6" title=""Multipurpose Internet Mail Extensions (MIME) Part Three: Message Header Extensions for Non-Ascii Text"">6</a>].
<span class="h4"><a class="selflink" id="section-3.1.2" href="#section-3.1.2">3.1.2</a> "*-type" subfields</span>
Several fields consist of a "-type" subfield, followed by a semi-
colon, followed by "*text". For these fields, the keyword used in
the address-type or MTA-type subfield indicates the expected format
of the address or MTA-name that follows.
The "-type" subfields are defined as follows:
<span class="grey">Fajman Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
(a) An "address-type" specifies the format of a mailbox address.
For example, Internet Mail addresses use the "<a href="./rfc822">rfc822</a>" address-
type.
address-type = atom
(b) An "MTA-name-type" specifies the format of a mail transfer
agent name. For example, for an SMTP server on an Internet
host, the MTA name is the domain name of that host, and the
"dns" MTA-name-type is used.
mta-name-type = atom
Values for address-type and mta-name-type are case-insensitive. Thus
address-type values of "<a href="./rfc822">RFC822</a>" and "<a href="./rfc822">rfc822</a>" are equivalent.
The Internet Assigned Numbers Authority (IANA) will maintain a
registry of address-type and mta-name-type values, along with
descriptions of the meanings of each, or a reference to a one or more
specifications that provide such descriptions. (The "<a href="./rfc822">rfc822</a>"
address-type is defined in <a href="./rfc1891">RFC 1891</a> [<a href="#ref-8" title=""SMTP Service Extension for Delivery Status Notifications"">8</a>].) Registration forms for
address-type and mta-name-type appear in <a href="./rfc1894">RFC 1894</a> [<a href="#ref-9" title="and G. Vaudreuil">9</a>].
IANA will not accept registrations for any address-type name that
begins with "X-". These type names are reserved for experimental
use.
<span class="h4"><a class="selflink" id="section-3.1.3" href="#section-3.1.3">3.1.3</a> Lexical tokens imported from <a href="./rfc822">RFC 822</a></span>
The following lexical tokens, defined in <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>], are used in the
ABNF grammar for MDNs: atom, CRLF, mailbox, msg-id, text.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a> Message/disposition-notification Fields</span>
<span class="h4"><a class="selflink" id="section-3.2.1" href="#section-3.2.1">3.2.1</a> The Reporting-UA field</span>
reporting-ua-field = "Reporting-UA" ":" ua-name
[ ";" ua-product ]
ua-name = *text
ua-product = *text
The Reporting-UA field is defined as follows:
A MDN describes the disposition of a message after it has been
delivered to a recipient. In all cases, the Reporting-UA is the UA
that performed the disposition described in the MDN. This field is
<span class="grey">Fajman Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
optional, but recommended. For Internet Mail user agents, it is
recommended that this field contain both the DNS name of the
particular instance of the UA that generated the MDN and the name of
the product. For example,
Reporting-UA: rogers-mac.dcrt.nih.gov; Foomail 97.1
If the reporting UA consists of more than one component (e.g., a base
program and plug-ins), this may be indicated by including a list of
product names.
<span class="h4"><a class="selflink" id="section-3.2.2" href="#section-3.2.2">3.2.2</a> The MDN-Gateway field</span>
The MDN-Gateway field indicates the name of the gateway or MTA that
translated a foreign (non-Internet) message disposition notification
into this MDN. This field MUST appear in any MDN which was
translated by a gateway from a foreign system into MDN format, and
MUST NOT appear otherwise.
mdn-gateway-field = "MDN-Gateway" ":" mta-name-type ";" mta-name
mta-name = *text
For gateways into Internet Mail, the MTA-name-type will normally be
"smtp", and the mta-name will be the Internet domain name of the
gateway.
<span class="h4"><a class="selflink" id="section-3.2.3" href="#section-3.2.3">3.2.3</a> Original-Recipient field</span>
The Original-Recipient field indicates the original recipient address
as specified by the sender of the message for which the MDN is being
issued. For Internet Mail messages the value of the
Original-Recipient field is obtained from the Original-Recipient
header from the message for which the MDN is being generated. If
there is no Original-Recipient header in the message, then the
Original-Recipient field MUST be omitted, unless the same information
is reliably available some other way. If there is an Original-
Recipient header in the original message (or original recipient
information is reliably available some other way), then the
Original-Recipient field must be supplied. If there is more than one
Original-Recipient header in the message, the UA may choose the one
to use or act as if no Original-Recipient header is present.
original-recipient-field =
"Original-Recipient" ":" address-type ";" generic-address
generic-address = *text
<span class="grey">Fajman Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
The address-type field indicates the type of the original recipient
address. If the message originated within the Internet, the
address-type field field will normally be "<a href="./rfc822">rfc822</a>", and the address
will be according to the syntax specified in <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>]. The value
"unknown" should be used if the Reporting UA cannot determine the
type of the original recipient address from the message envelope.
This address is the same as that provided by the sender and can be
used to automatically correlate MDN reports with original messages on
a per recipient basis.
<span class="h4"><a class="selflink" id="section-3.2.4" href="#section-3.2.4">3.2.4</a> Final-Recipient field</span>
The Final-Recipient field indicates the recipient for which the MDN
is being issued. This field MUST be present.
The syntax of the field is as follows:
final-recipient-field =
"Final-Recipient" ":" address-type ";" generic-address
The generic-address subfield of the Final-Recipient field MUST
contain the mailbox address of the recipient (from the From header of
the MDN) as it was when the MDN was generated by the UA.
The Final-Recipient address may differ from the address originally
provided by the sender, because it may have been transformed during
forwarding and gatewaying into an totally unrecognizable mess.
However, in the absence of the optional Original-Recipient field, the
Final-Recipient field and any returned content may be the only
information available with which to correlate the MDN with a
particular message recipient.
The address-type subfield indicates the type of address expected by
the reporting MTA in that context. Recipient addresses obtained via
SMTP will normally be of address-type "<a href="./rfc822">rfc822</a>".
Since mailbox addresses (including those used in the Internet) may be
case sensitive, the case of alphabetic characters in the address MUST
be preserved.
<span class="h4"><a class="selflink" id="section-3.2.5" href="#section-3.2.5">3.2.5</a> Original-Message-ID field</span>
The Original-Message-ID field indicates the message-ID of the message
for which the MDN is being issued. It is obtained from the Message-
ID header of the message for which the MDN is issued. This field
MUST be present if the original message contained a Message-ID
header. The syntax of the field is
<span class="grey">Fajman Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
original-message-id-field = "Original-Message-ID" ":" msg-id
The msg-id token is as specified in <a href="./rfc822">RFC 822</a> [<a href="#ref-2" title=""Standard for the Format of ARPA Internet Text Messages"">2</a>].
<span class="h4"><a class="selflink" id="section-3.2.6" href="#section-3.2.6">3.2.6</a> Disposition field</span>
The Disposition field indicates the action performed by the
Reporting-UA on behalf of the user. This field MUST be present.
The syntax for the Disposition field is:
disposition-field = "Disposition" ":" disposition-mode ";"
disposition-type
[ '/' disposition-modifier
*( "," dispostion-modifier ) ]
disposition-mode = action-mode "/" sending-mode
action-mode = "manual-action" / "automatic-action"
sending-mode = "MDN-sent-manually" / "MDN-sent-automatically"
disposition-type = "displayed"
/ "dispatched"
/ "processed"
/ "deleted"
/ "denied"
/ "failed"
disposition-modifier = ( "error" / "warning" )
/ ( "superseded" / "expired" /
"mailbox-terminated" )
/ disposition-modifier-extension
disposition-modifier-extension = atom
The disposition-mode, disposition-type and disposition-modifier may
be spelled in any combination of upper and lower case characters.
<span class="h5"><a class="selflink" id="section-3.2.6.1" href="#section-3.2.6.1">3.2.6.1</a> Disposition modes</span>
The following disposition modes are defined:
"manual-action" The disposition described by the
disposition type was a result of an
explicit instruction by the user rather
than some sort of automatically performed
action.
<span class="grey">Fajman Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
"automatic-action" The disposition described by the
disposition type was a result of an
automatic action, rather than an explicit
instruction by the user for this message.
"Manual-action" and "automatic-action" are
mutually exclusive. One or the other must
be specified.
"MDN-sent-manually" The user explicity gave permission for
this particular MDN to be sent.
"MDN-sent-automatically" The MDN was sent because the UA had
previously been configured to do so
automatically.
"MDN-sent-manually" and "MDN-sent-
automatically" are mutually exclusive.
One or the other must be specified.
<span class="h5"><a class="selflink" id="section-3.2.6.2" href="#section-3.2.6.2">3.2.6.2</a> Disposition types</span>
The following disposition-types are defined:
"displayed" The message has been displayed by the UA to someone
reading the recipient's mailbox. There is
no guarantee that the content has been
read or understood.
"dispatched" The message has been sent somewhere in some manner
(e.g., printed, faxed, forwarded) without
necessarily having been previously
displayed to the user. The user may or
may not see the message later.
"processed" The message has been processed in some manner (i.e.,
by some sort of rules or server) without
being displayed to the user. The user may
or may not see the message later, or there
may not even be a human user associated
with the mailbox.
"deleted" The message has been deleted. The recipient may or
may not have seen the message. The
recipient might "undelete" the message at
a later time and read the message.
<span class="grey">Fajman Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
"denied" The recipient does not wish the sender to be informed
of the message's disposition. A UA may
also siliently ignore message disposition
requests in this situation.
"failed" A failure occurred that prevented the proper
generation of an MDN. More information
about the cause of the failure may be
contained in a Failure field. The
"failed" disposition type is not to be
used for the situation in which there is
is some problem in processing the message
other than interpreting the request for an
MDN. The "processed" or other disposition
type with appropriate disposition
modifiers is to be used in such
situations.
<span class="h5"><a class="selflink" id="section-3.2.6.3" href="#section-3.2.6.3">3.2.6.3</a> Disposition modifiers</span>
The following disposition modifiers are defined:
"error" An error of some sort occurred
that prevented successful
processing of the message.
Further information is contained
in an Error field.
"warning" The message was successfully
processed but some sort of
exceptional condition occurred.
Further information is contained
in a Warning field.
"superseded" The message has been
automatically rendered obsolete by
another message received. The
recipient may still access and
read the message later.
"expired" The message has reached its
expiration date and has been
automatically removed from the
recipient's mailbox.
"mailbox-terminated" The recipient's mailbox has been
terminated and all message in it
automatically removed.
<span class="grey">Fajman Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
"Obsoleted", "expired", and
"terminated" are to be used with
the "deleted" disposition type and
the "autoaction" and "autosent"
disposition modifiers.
disposition-modifier-extension Additional disposition modifiers
may be defined in the future by
later revisions or extensions to
this specification. Disposition
value names beginning with "X-"
will never be defined as standard
values; such names are reserved
for experimental use. MDN
disposition value names NOT
beginning with "X-" MUST be
registered with the Internet
Assigned Numbers Authority (IANA)
and described in a standards-
track RFC or an experimental RFC
approved by the IESG. See <a href="#section-10">Section</a>
<a href="#section-10">10</a> for a registration form. MDNs
with disposition modifier names
not understood by the receiving UA
MAY be silently ignored or placed
in the user's mailbox without
special inter- pretation. They
MUST not cause any error message
to be sent to the sender of the
MDN.
If an UA developer does not wish
to register the meanings of such
disposition modifier extensions,
"X-" modifiers may be used for
this purpose. To avoid name
collisions, the name of the UA
implementation should follow the
"X-", (e.g. "X-Foomail-fratzed").
It is not required that a UA be able to generate all of the possible
values of the Disposition field.
One and only one MDN may be issued on behalf of each particular
recipient by their user agent. That is, once an MDN has been issued
on behalf of a recipient, no further MDNs may be issued on behalf of
that recipient, even if another disposition is performed on the
message. However, if a message is forwarded, a "dispatched" MDN may
<span class="grey">Fajman Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
been issued for the recipient doing the forwarding and the recipient
of the forwarded message may also cause an MDN to be generated.
<span class="h4"><a class="selflink" id="section-3.2.7" href="#section-3.2.7">3.2.7</a> Failure, Error and Warning fields</span>
The Failure, Error and Warning fields are used to supply additional
information in the form of text messages when the "failure"
disposition type, "error" disposition modifier, and/or the "warning"
disposition modifer appear. The syntax is
failure-field = "Failure" ":" *text
error-field = "Error" ":" *text
warning-field = "Warning" ":" *text
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a> Extension fields</span>
Additional MDN fields may be defined in the future by later revisions
or extensions to this specification. Extension-field names beginning
with "X-" will never be defined as standard fields; such names are
reserved for experimental use. MDN field names NOT beginning with
"X-" MUST be registered with the Internet Assigned Numbers Authority
(IANA) and described in a standards-track RFC or an experimental RFC
approved by the IESG. See <a href="#section-10">Section 10</a> for a registration form.
Extension MDN fields may be defined for the following reasons:
(a) To allow additional information from foreign disposition
reports to be tunneled through Internet MDNs. The names of such
MDN fields should begin with an indication of the foreign
environment name (e.g. X400-Physical-Forwarding-Address).
(b) To allow transmission of diagnostic information which is
specific to a particular user agent (UA). The names of such MDN
fields should begin with an indication of the UA implementation
which produced the MDN. (e.g. Foomail-information).
If an application developer does not wish to register the meanings of
such extension fields, "X-" fields may be used for this purpose. To
avoid name collisions, the name of the application implementation
should follow the "X-", (e.g. "X-Foomail-Log-ID" or "X-EDI-info").
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Timeline of events</span>
The following timeline shows when various events in the processing of
a message and generation of MDNs take place:
<span class="grey">Fajman Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
-- User composes message
-- User tells UA to send message
-- UA passes message to MTA (original recipient information
passed along)
-- MTA sends message to next MTA
-- Final MTA receives message
-- Final MTA delivers message to UA (possibily generating DSN)
-- UA performs automatic processing and generates corresponding
MDNs ("dispatched", "processed", "deleted", "denied" or "failed"
disposition type with "automatic-action" and "MDN-sent-
automatically" disposition modes)
-- UA displays list of messages to user
-- User selects a message and requests that some action be
performed on it.
-- UA performs requested action and, with user's permission,
sends appropriate MDN ("displayed", "dispatched", "processed",
"deleted", "denied" or "failed" disposition type with "manual-
action" and "MDN-sent-manually" or "MDN-sent-automatically"
disposition mode).
-- User possibly performs other actions on message, but no
further MDNs are generated.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Conformance and Usage Requirements</span>
A UA or gateway conforms to this specification if it generates MDNs
according to the protocol defined in this memo. It is not necessary
to be able to generate all of the possible values of the Disposition
field.
UAs and gateways MUST NOT generate the Original-Recipient field of an
MDN unless the mail protocols provide the address originally
specified by the sender at the time of submission. Ordinary SMTP
does not make that guarantee, but the SMTP extension defined in <a href="./rfc1891">RFC</a>
<a href="./rfc1891">1891</a> [<a href="#ref-8" title=""SMTP Service Extension for Delivery Status Notifications"">8</a>] permits such information to be carried in the envelope if it
is available. The Original-Recipient header defined in this document
provides a way for the MTA to pass the original recipient address to
the UA.
<span class="grey">Fajman Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
Each sender-specified recipient address may result in more than one
MDN. If an MDN is requested for a recipient that is forwarded to
multiple recipients of an "alias" (as defined in <a href="./rfc1891">RFC 1891</a> [<a href="#ref-8" title=""SMTP Service Extension for Delivery Status Notifications"">8</a>],
section 6.2.7.3), each of the recipients may issue an MDN.
Successful distribution of a message to a mailing list exploder
SHOULD be considered final disposition of the message. A mailing
list exploder may issue an MDN with a disposition type of "processed"
and disposition modes of "automatic-action" and "MDN- sent-
automatically" indicating that the message has been forwarded to the
list. In this case, the request for MDNs is not propogated to the
members of the list.
Alternaively, the mailing list exploder may issue no MDN and
propogate the request for MDNs to all members of the list. The
latter behavior is not recommended for any but small, closely knit
lists, as it might cause large numbers of MDNs to be generated and
may cause confidential subscribers to the list to be revealed. It is
also permissible for the mailing list exploder to direct MDNs to
itself, correlate them, and produce a report to the original sender
of the message.
This specification places no restrictions on the processing of MDNs
received by user agents or mailing lists.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
The following security considerations apply when using MDNs:
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a> Forgery</span>
MDNs may be forged as easily as ordinary Internet electronic mail.
User agents and automatic mail handling facilities (such as mail
distribution list exploders) that wish to make automatic use of MDNs
should take appropriate precautions to minimize the potential damage
from denial-of-service attacks.
Security threats related to forged MDNs include the sending of:
(a) A falsified disposition notification when the indicated
disposition of the message has not actually ocurred,
(b) Unsolicited MDNs
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a> Confidentiality</span>
Another dimension of security is confidentiality. There may be cases
in which a message recipient does not wish the disposition of
<span class="grey">Fajman Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
messages addressed to him to be known or is concerned that the
sending of MDNs may reveal other confidential information (e.g., when
the message was read). In this situation, it is acceptable for the
UA to issue "denied" MDNs or to silently ignore requests for MDNs.
If the Disposition-Notification-To header is passed on unmodified
when a message is distributed to the subscribers of a mailing list,
the subscribers to the list may be revealed to the sender of the
original message by the generation of MDNs.
Headers of the original message returned in part 3 of the
multipart/report could reveal confidential information about host
names and/or network topology inside a firewall.
An unencrypted MDN could reveal confidential information about an
encrypted message, especially if all or part of the original message
is returned in part 3 of the multipart/report. Encrypted MDNs are
not defined in this specification.
In general, any optional MDN field may be omitted if the Reporting UA
site or user determines that inclusion of the field would impose too
great a compromise of site confidentiality. The need for such
confidentiality must be balanced against the utility of the omitted
information in MDNs.
<span class="h3"><a class="selflink" id="section-6.3" href="#section-6.3">6.3</a> Non-Repudiation</span>
Within the framework of today's Internet Mail, the MDNs defined in
this document provide valuable information to the mail user; however,
MDNs can not be relied upon as a guarantee that a message was or was
not not seen by the recipient. Even if MDNs are not actively forged,
they may be lost in transit. The MDN issuing mechanism may be
bypassed in some manner by the recipient.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Collected Grammar</span>
NOTE: The following lexical tokens are defined in <a href="./rfc822">RFC 822</a>: atom,
CRLF, mailbox, msg-id, text. The definitions of attribute and value
are as in the definition of the Content-Type header in <a href="./rfc2045">RFC 2045</a> [<a href="#ref-4" title=""Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies"">4</a>].
Message headers:
mdn-request-header = "Disposition-Notification-To" ":" 1#mailbox
Disposition-Notification-Options =
"Disposition-Notification-Options" ":"
disposition-notification-parameters
<span class="grey">Fajman Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
disposition-notification-parameters = parameter *(";" parameter)
parameter = attribute "=" importance "," 1#value
importance = "required" / "optional"
original-recipient-header =
"Original-Recipient" ":" address-type ";" generic-address
Report content:
disposition-notification-content = [ reporting-ua-field CRLF ]
[ mdn-gateway-field CRLF ]
[ original-recipient-field CRLF ]
final-recipient-field CRLF
[ original-message-id-field CRLF ]
disposition-field CRLF
*( failure-field CRLF )
*( error-field CRLF )
*( warning-field CRLF )
*( extension-field CRLF )
address-type = atom
mta-name-type = atom
reporting-ua-field = "Reporting-UA" ":" ua-name
[ ";" ua-product ]
ua-name = *text
ua-product = *text
mdn-gateway-field = "MDN-Gateway" ":" mta-name-type ";" mta-name
mta-name = *text
original-recipient-field =
"Original-Recipient" ":" address-type ";" generic-address
generic-address = *text
final-recipient-field =
"Final-Recipient" ":" address-type ";" generic-address
disposition-field = "Disposition" ":" disposition-mode ";"
disposition-type
<span class="grey">Fajman Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
[ '/' disposition-modifier
*( "," dispostion-modifier ) ]
disposition-mode = action-mode "/" sending-mode
action-mode = "manual-action" / "automatic-action"
sending-mode = "MDN-sent-manually" / "MDN-sent-automatically"
disposition-type = "displayed"
/ "dispatched"
/ "processed"
/ "deleted"
/ "denied"
/ "failed"
disposition-modifier = ( "error" / "warning" )
/ ( "superseded" / "expired" /
"mailbox-terminated" )
/ disposition-modifier-extension
disposition-modifier-extension = atom
original-message-id-field = "Original-Message-ID" ":" msg-id
failure-field = "Failure" ":" *text
error-field = "Error" ":" *text
warning-field = "Warning" ":" *text
extension-field = extension-field-name ":" *text
extension-field-name = atom
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Guidelines for Gatewaying MDNs</span>
NOTE: This section provides non-binding recommendations for the
construction of mail gateways that wish to provide semi-transparent
disposition notifications between the Internet and another electronic
mail system. Specific MDN gateway requirements for a particular pair
of mail systems may be defined by other documents.
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a> Gatewaying from other mail systems to MDNs</span>
A mail gateway may issue an MDN to convey the contents of a "foreign"
disposition notification over Internet Mail. When there are
appropriate mappings from the foreign notification elements to MDN
<span class="grey">Fajman Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
fields, the information may be transmitted in those MDN fields.
Additional information (such as might be needed to tunnel the foreign
notification through the Internet) may be defined in extension MDN
fields. (Such fields should be given names that identify the foreign
mail protocol, e.g. X400-* for X.400 protocol elements)
The gateway must attempt to supply reasonable values for the
Reporting-UA, Final-Recipient, and Disposition fields. These will
normally be obtained by translating the values from the foreign
notification into their Internet-style equivalents. However, some
loss of information is to be expected.
The sender-specified recipient address, and the original message-id,
if present in the foreign notification, should be preserved in the
Original-Recipient and Original-Message-ID fields.
The gateway should also attempt to preserve the "final" recipient
address from the foreign system. Whenever possible, foreign protocol
elements should be encoded as meaningful printable ASCII strings.
For MDNs produced from foreign disposition notifications, the name of
the gateway MUST appear in the MDN-Gateway field of the MDN.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a> Gatewaying from MDNs to other mail systems</span>
It may be possible to gateway MDNs from the Internet into a foreign
mail system. The primary purpose of such gatewaying is to convey
disposition information in a form that is usable by the destination
system. A secondary purpose is to allow "tunneling" of MDNs through
foreign mail systems, in case the MDN may be gatewayed back into the
Internet.
In general, the recipient of the MDN (i.e., the sender of the
original message) will want to know, for each recipient: the closest
available approximation to the original recipient address, and the
disposition (displayed, printed, etc.).
If possible, the gateway should attempt to preserve the Original-
Recipient address and Original-Message-ID (if present), in the
resulting foreign disposition report.
If it is possible to tunnel an MDN through the destination
environment, the gateway specification may define a means of
preserving the MDN information in the disposition reports used by
that environment.
<span class="grey">Fajman Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Example</span>
NOTE: This example is provided as illustration only, and is not
considered part of the MDN protocol specification. If the example
conflicts with the protocol definition above, the example is wrong.
Likewise, the use of *-type subfield names or extension fields in
this example is not to be construed as a definition for those type
names or extension fields.
<span class="h3"><a class="selflink" id="section-9.1" href="#section-9.1">9.1</a> This is an MDN issued after a message has been displayed to the user</span>
<span class="h3"> of an Internet Mail user agent.</span>
Date: Wed, 20 Sep 1995 00:19:00 (EDT) -0400
From: Joe Recipient <Joe_Recipient@mega.edu>
Message-Id: <199509200019.12345@mega.edu>
Subject: Disposition notification
To: Jane Sender <Jane_Sender@huge.com>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=disposition-notification;
boundary="RAA14128.773615765/mega.edu"
--RAA14128.773615765/mega.edu
The message sent on 1995 Sep 19 at 13:30:00 (EDT) -0400 to Joe
Recipient <Joe_Recipient@mega.edu> with subject "First draft of
report" has been displayed. This is no guarantee that the message
has been read or understood.
--RAA14128.773615765/mega.edu
content-type: message/disposition-notification
Reporting-UA: joes-pc.cs.mega.edu; Foomail 97.1
Original-Recipient: <a href="./rfc822">rfc822</a>;Joe_Recipient@mega.edu
Final-Recipient: <a href="./rfc822">rfc822</a>;Joe_Recipient@mega.edu
Original-Message-ID: <199509192301.23456@huge.com>
Disposition: manual-action/MDN-sent-manually; displayed
--RAA14128.773615765/mega.edu
content-type: message/rfc822
[original message goes here]
--RAA14128.773615765/mega.edu--
<span class="grey">Fajman Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. IANA Registration Forms</span>
The forms below are for use when registering a new parameter name for
the Disposition-Notification-Options header, a new disposition
modifier name, or a new MDN extension field. Each piece of
information required by a registration form may be satisfied either
by providing the information on the form itself, or by including a
reference to a published, publicly available specification that
includes the necessary information. IANA MAY reject registrations
because of incomplete registration forms, imprecise specifications,
or inappropriate names.
To register, complete the applicable form below and send it via
electronic mail to <IANA@IANA.ORG>.
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a> IANA registration form for Disposition-Notification-Options header</span>
<span class="h3"> parameter names</span>
A registration for a Disposition-Notification-Options header
parameter name MUST include the following information:
(a) The proposed parameter name.
(b) The syntax for parameter values, specified using BNF, ABNF,
regular expressions, or other non-ambiguous language.
(c) If parameter values are not composed entirely of graphic
characters from the US-ASCII repertoire, a specification for how they
are to be encoded as graphic US-ASCII characters in a Disposition-
Notification-Options header.
(d) A reference to a standards track RFC or experimental RFC approved
by the IESG that describes the semantics of the parameter values.
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a> IANA registration form for disposition modifer names</span>
A registration for a disposition-modifier name MUST include the
following information:
(a) The proposed disposition-modifier name.
(b) A reference to a standards track RFC or experimental RFC approved
by the IESG that describes the semantics of the disposition modifier.
<span class="h3"><a class="selflink" id="section-10.3" href="#section-10.3">10.3</a> IANA registration form for MDN extension field names</span>
A registration for an MDN extension field name MUST include the
following information:
<span class="grey">Fajman Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
(a) The proposed extension field name.
(b) The syntax for extension values, specified using BNF, ABNF,
regular expressions, or other non-ambiguous language.
(c) If extension field values are not composed entirely of graphic
characters from the US-ASCII repertoire, a specification for how they
are to be encoded as graphic US-ASCII characters in a Disposition-
Notification-Options header.
(d) A reference to a standards track RFC or experimental RFC approved
by the IESG that describes the semantics of the extension field.
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Acknowledgments</span>
This document is based on the Delivery Status Notifications document,
<a href="./rfc1894">RFC 1894</a> [<a href="#ref-9" title="and G. Vaudreuil">9</a>], by Keith Moore and Greg Vaudreuil. Contributions were
made by members of the IETF Receipt Working Group, including Harald
Alverstrand, Ian Bell, Urs Eppenberger, Claus Andri Faerber, Ned
Freed, Jim Galvin, Carl Hage, Mike Lake, Keith Moore, Paul Overell,
Pete Resnick, Chuck Shih.
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. References</span>
[<a id="ref-1">1</a>] Postel, J., "Simple Mail Transfer Protocol", STD 10, <a href="./rfc821">RFC 821</a>,
August 1982.
[<a id="ref-2">2</a>] Crocker, D., "Standard for the Format of ARPA Internet Text
Messages", STD 11, <a href="./rfc822">RFC 822</a>, August 1982.
[<a id="ref-3">3</a>] Braden, R. (ed.), "Requirements for Internet Hosts -
Application and Support", STD 3, <a href="./rfc1123">RFC 1123</a>, October 1989.
[<a id="ref-4">4</a>] Freed, N., and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part One: Format of Internet Message
Bodies", <a href="./rfc2045">RFC 2045</a>, November 1996.
[<a id="ref-5">5</a>] Freed, N., and N. Borenstein, "Multipurpose Internet Mail
Extensions (MIME) Part Two: Media Types", <a href="./rfc2046">RFC 2046</a>, November
1996.
[<a id="ref-6">6</a>] Moore, K., "Multipurpose Internet Mail Extensions (MIME) Part
Three: Message Header Extensions for Non-Ascii Text", <a href="./rfc2047">RFC</a>
<a href="./rfc2047">2047</a>, November 1996.
[<a id="ref-7">7</a>] Vaudreuil, G., "The Multipart/Report Content Type for the
Reporting of Mail System Administrative Messages", <a href="./rfc1892">RFC 1892</a>,
January 1996.
<span class="grey">Fajman Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
[<a id="ref-8">8</a>] Moore, K., "SMTP Service Extension for Delivery Status
Notifications", <a href="./rfc1891">RFC 1891</a>, January 1996.
[<a id="ref-9">9</a>] Moore, K., and G. Vaudreuil, "An Extensible Format for
Delivery Status Notifications, <a href="./rfc1894">RFC 1894</a>, January 1996.
[<a id="ref-10">10</a>] Bradner, S., "Key Words for Use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
<span class="h2"><a class="selflink" id="section-13" href="#section-13">13</a>. Author's Address</span>
Roger Fajman
National Institutes of Health
Building 12A, Room 3063
12 South Drive MSC 5659
Bethesda, Maryland 20892-5659
USA
EMail: raf@cu.nih.gov
Phone: +1 301 402 4265
Fax: +1 301 480 6241
<span class="grey">Fajman Standards Track [Page 27]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-28" ></span>
<span class="grey"><a href="./rfc2298">RFC 2298</a> Message Disposition Notifications March 1998</span>
<span class="h2"><a class="selflink" id="section-14" href="#section-14">14</a>. Full Copyright Statement</span>
Copyright (C) The Internet Society (1998). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Fajman Standards Track [Page 28]
</pre>
|