home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / rfc / 3 / rfc2298.txt < prev    next >
Encoding:
Text File  |  2003-06-11  |  60.6 KB  |  1,572 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                          R. Fajman
  8. Request for Comments: 2298                 National Institutes of Health
  9. Category: Standards Track                                     March 1998
  10.  
  11.  
  12.                       An Extensible Message Format
  13.                  for Message Disposition Notifications
  14.  
  15. Status of this Memo
  16.  
  17.    This document specifies an Internet standards track protocol for the
  18.    Internet community, and requests discussion and suggestions for
  19.    improvements.  Please refer to the current edition of the "Internet
  20.    Official Protocol Standards" (STD 1) for the standardization state
  21.    and status of this protocol.  Distribution of this memo is unlimited.
  22.  
  23. Copyright Notice
  24.  
  25.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  26.  
  27. Abstract
  28.  
  29.    This memo defines a MIME content-type that may be used by a mail user
  30.    agent (UA) or electronic mail gateway to report the disposition of a
  31.    message after it has been sucessfully delivered to a recipient.  This
  32.    content-type is intended to be machine-processable.  Additional
  33.    message headers are also defined to permit Message Disposition
  34.    Notifications (MDNs) to be requested by the sender of a message.  The
  35.    purpose is to extend Internet Mail to support functionality often
  36.    found in other messaging systems, such as X.400 and the proprietary
  37.    "LAN-based" systems, and often referred to as "read receipts,"
  38.    "acknowledgements," or "receipt notifications."  The intention is to
  39.    do this while respecting the privacy concerns that have often been
  40.    expressed when such functions have been discussed in the past.
  41.  
  42.    Because many messages are sent between the Internet and other
  43.    messaging systems (such as X.400 or the proprietary "LAN-based"
  44.    systems), the MDN protocol is designed to be useful in a multi-
  45.    protocol messaging environment.  To this end, the protocol described
  46.    in this memo provides for the carriage of "foreign" addresses, in
  47.    addition to those normally used in Internet Mail.  Additional
  48.    attributes may also be defined to support "tunneling" of foreign
  49.    notifications through Internet Mail.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. Fajman                      Standards Track                     [Page 1]
  59.  
  60. RFC 2298           Message Disposition Notifications          March 1998
  61.  
  62.  
  63. Table of Contents
  64.  
  65.    1.   Introduction ............................................  2
  66.    2.   Requesting Message Disposition Notifications ............  3
  67.    3.   Format of a Message Disposition Notification ............  7
  68.    4.   Timeline of events ...................................... 17
  69.    5.   Conformance and Usage Requirements ...................... 18
  70.    6.   Security Considerations ................................. 19
  71.    7.   Collected Grammar ....................................... 20
  72.    8.   Guidelines for Gatewaying MDNs .......................... 22
  73.    9.   Example ................................................. 24
  74.    10.  IANA Registration Forms ................................. 25
  75.    11.  Acknowledgments ......................................... 26
  76.    12.  References .............................................. 26
  77.    13.  Author's Address ........................................ 27
  78.    14.  Copyright ............................................... 28
  79.  
  80. 1.  Introduction
  81.  
  82.    This memo defines a MIME content-type [5] for message disposition
  83.    notifications (MDNs).  An MDN can be used to notify the sender of a
  84.    message of any of several conditions that may occur after successful
  85.    delivery, such as display of the message contents, printing of the
  86.    message, deletion (without display) of the message, or the
  87.    recipient's refusal to provide MDNs.  The "message/disposition-
  88.    notification" content-type defined herein is intended for use within
  89.    the framework of the "multipart/report" content type defined in RFC
  90.    1892 [7].
  91.  
  92.    This memo defines the format of the notifications and the RFC 822
  93.    headers used to request them.
  94.  
  95.    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
  96.    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
  97.    document are to be interpreted as described in RFC 2119.
  98.  
  99. 1.1 Purposes
  100.  
  101.    The MDNs defined in this memo are expected to serve several purposes:
  102.  
  103.    (a)  Inform human beings of the disposition of messages after
  104.         succcessful delivery, in a manner which is largely independent
  105.         of human language;
  106.  
  107.    (b)  Allow mail user agents to keep track of the disposition of
  108.         messages sent, by associating returned MDNs with earlier message
  109.         transmissions;
  110.  
  111.  
  112.  
  113.  
  114. Fajman                      Standards Track                     [Page 2]
  115.  
  116. RFC 2298           Message Disposition Notifications          March 1998
  117.  
  118.  
  119.    (c)  Convey disposition notification requests and disposition
  120.         notifications between Internet Mail and "foreign" mail systems
  121.         via a gateway;
  122.  
  123.    (d)  Allow "foreign" notifications to be tunneled through a MIME-
  124.         capable message system and back into the original messaging
  125.         system that issued the original notification, or even to a third
  126.         messaging system;
  127.  
  128.    (e)  Allow language-independent, yet reasonably precise, indications
  129.         of the disposition of a message to be delivered.
  130.  
  131. 1.2 Requirements
  132.  
  133.    These purposes place the following constraints on the notification
  134.    protocol:
  135.  
  136.    (a)  It must be readable by humans, as well as being machine-
  137.         parsable.
  138.  
  139.    (b)  It must provide enough information to allow message senders (or
  140.         their user agents) to unambiguously associate an MDN with the
  141.         message that was sent and the original recipient address for
  142.         which the MDN is issued (if such information is available), even
  143.         if the message was forwarded to another recipient address.
  144.  
  145.    (c)  It must also be able to describe the disposition of a message
  146.         independent of any particular human language or of the
  147.         terminology of any particular mail system.
  148.  
  149.    (d)  The specification must be extensible in order to accomodate
  150.         future requirements.
  151.  
  152. 2.  Requesting Message Disposition Notifications
  153.  
  154.    Message disposition notifications are requested by including a
  155.    Disposition-Notification-To header in the message.  Further
  156.    information to be used by the recipient's UA in generating the MDN
  157.    may be provided by including Original-Recipient and/or Disposition-
  158.    Notification-Options headers in the message.
  159.  
  160. 2.1 The Disposition-Notification-To Header
  161.  
  162.    A request that the receiving user agent issue message disposition
  163.    notifications is made by placing a Disposition-Notification-To header
  164.    into the message.  The syntax of the header, using the ABNF of RFC
  165.    822 [2], is
  166.  
  167.  
  168.  
  169.  
  170. Fajman                      Standards Track                     [Page 3]
  171.  
  172. RFC 2298           Message Disposition Notifications          March 1998
  173.  
  174.  
  175.      mdn-request-header = "Disposition-Notification-To" ":" 1#mailbox
  176.  
  177.    The mailbox token is as specified in RFC 822 [2].
  178.  
  179.    The presence of a Disposition-Notification-To header in a message is
  180.    merely a request for an MDN.  The recipients' user agents are always
  181.    free to silently ignore such a request.  Alternatively, an explicit
  182.    denial of the request for information about the disposition of the
  183.    message may be sent using the "denied" disposition in an MDN.
  184.  
  185.    An MDN MUST NOT itself have a Disposition-Notification-To header.
  186.    An MDN MUST NOT be generated in response to an MDN.
  187.  
  188.    At most one MDN may be issued on behalf of each particular recipient
  189.    by their user agent.  That is, once an MDN has been issued on behalf
  190.    of a recipient, no further MDNs may be issued on behalf of that
  191.    recipient, even if another disposition is performed on the message.
  192.    However, if a message is forwarded, an MDN may been issued for the
  193.    recipient doing the forwarding and the recipient of the forwarded
  194.    message may also cause an MDN to be generated.
  195.  
  196.    While Internet standards normally do not specify the behavior of user
  197.    interfaces, it is strongly recommended that the user agent obtain the
  198.    user's consent before sending an MDN.  This consent could be obtained
  199.    for each message through some sort of prompt or dialog box, or
  200.    globally through the user's setting of a preference.  The user might
  201.    also indicate globally that MDNs are never to be sent or that a
  202.    "denied" MDN is always sent in response to a request for an MDN.
  203.  
  204.    MDNs SHOULD NOT be sent automatically if the address in the
  205.    Disposition-Notification-To header differs from the address in the
  206.    Return-Path header (see RFC 822 [2]).  In this case, confirmation
  207.    from the user SHOULD be obtained, if possible.  If obtaining consent
  208.    is not possible (e.g., because the user is not online at the time),
  209.    then an MDN SHOULD NOT be sent.
  210.  
  211.    Confirmation from the user SHOULD be obtained (or no MDN sent) if
  212.    there is no Return-Path header in the message, or if there is more
  213.    than one distinct address in the Disposition-Notification-To header.
  214.  
  215.    The comparison of the addresses should be done using only the addr-
  216.    spec (local-part "@" domain) portion, excluding any phrase and route.
  217.    The comparison MUST be case-sensitive for the local-part and case-
  218.    insensitive for the domain part.
  219.  
  220.    If the message contains more than one Return-Path header, the
  221.    implementation may pick one to use for the comparison, or treat the
  222.    situation as a failure of the comparison.
  223.  
  224.  
  225.  
  226. Fajman                      Standards Track                     [Page 4]
  227.  
  228. RFC 2298           Message Disposition Notifications          March 1998
  229.  
  230.  
  231.    The reason for not automatically sending an MDN if the comparison
  232.    fails or more than one address is specified is to reduce the
  233.    possibilities for mail loops and use of MDNs for mail bombing.
  234.  
  235.    A message that contains a Disposition-Notification-To header SHOULD
  236.    also contain a Message-ID header as specified in RFC 822 [2].  This
  237.    will permit automatic correlation of MDNs with original messages by
  238.    user agents.
  239.  
  240.    If it is desired to request message disposition notifications for
  241.    some recipients and not others, two copies of the message should be
  242.    sent, one with an Disposition-Notification-To header and one without.
  243.    Many of the other headers of the message (e.g., To, cc) will be the
  244.    same in both copies.  The recipients in the respective message
  245.    envelopes determine for whom message disposition notifications are
  246.    requested and for whom they are not.  If desired, the Message-ID
  247.    header may be the same in both copies of the message.  Note that
  248.    there are other situations (e.g., bcc) in which it is necessary to
  249.    send multiple copies of a message with slightly different headers.
  250.    The combination of such situations and the need to request MDNs for a
  251.    subset of all recipients may result in more than two copies of a
  252.    message being sent, some with a Disposition- Notification-To header
  253.    and some without.
  254.  
  255.    Messages posted to newsgroups SHOULD NOT have a Disposition-
  256.    Notification-To header.
  257.  
  258. 2.2 The Disposition-Notification-Options Header
  259.  
  260.    Future extensions to this specification may require that information
  261.    be supplied to the recipient's UA for additional control over how and
  262.    what MDNs are generated.  The Disposition-Notification-Options header
  263.    provides an extensible mechanism for such information.  The syntax of
  264.    this header, using the ABNF of RFC 822 [2], is
  265.  
  266.      Disposition-Notification-Options =
  267.           "Disposition-Notification-Options" ":"
  268.           disposition-notification-parameters
  269.  
  270.      disposition-notification-parameters = parameter *(";" parameter)
  271.  
  272.      parameter = attribute "=" importance "," 1#value
  273.  
  274.      importance = "required" / "optional"
  275.  
  276.    The definitions of attribute and value are as in the definition of
  277.    the Content-Type header in RFC 2045 [4].
  278.  
  279.  
  280.  
  281.  
  282. Fajman                      Standards Track                     [Page 5]
  283.  
  284. RFC 2298           Message Disposition Notifications          March 1998
  285.  
  286.  
  287.    An importance of "required" indicates that interpretation of the
  288.    parameter is necessary for proper generation of an MDN in response to
  289.    this request.  If a UA does not understand the meaning of the
  290.    parameter, it MUST NOT generate an MDN with any disposition type
  291.    other than "failed" in response to the request.  An importance of
  292.    "optional" indicates that a UA that does not understand the meaning
  293.    of this parameter MAY generate an MDN in response anyway, ignoring
  294.    the value of the parameter.
  295.  
  296.    No parameters are defined in this specification.  Parameters may be
  297.    defined in the future by later revisions or extensions to this
  298.    specification.  Parameter attribute names beginning with "X-" will
  299.    never be defined as standard names; such names are reserved for
  300.    experimental use.  MDN parameter names not beginning with "X-" MUST
  301.    be registered with the Internet Assigned Numbers Authority (IANA) and
  302.    described in a standards-track RFC or an experimental RFC approved by
  303.    the IESG.  See Section 10 for a registration form.
  304.  
  305.    If a required parameter is not understood or contains some sort of
  306.    error, the receiving UA SHOULD issue an MDN with a disposition type
  307.    of "failed" (see Section 3.2.6) and include a Failure field (see
  308.    Section 3.2.7) that further describes the problem.  MDNs with the a
  309.    disposition type of "failed" and a "Failure" field MAY also be
  310.    generated when other types of errors are detected in the parameters
  311.    of the Disposition-Notification-Options header.
  312.  
  313.    However, an MDN with a disposition type of "failed" MUST NOT be
  314.    generated if the user has indicated a preferance that MDNs are not to
  315.    be sent.  If user consent would be required for an MDN of some other
  316.    disposition type to be sent, user consent SHOULD also be obtained
  317.    before sending an MDN with a disposition type of "failed".
  318.  
  319. 2.3 The Original-Recipient Header
  320.  
  321.    Since electronic mail addresses may be rewritten while the message is
  322.    in transit, it is useful for the original recipient address to be
  323.    made available by the delivering MTA.  The delivering MTA may be able
  324.    to obtain this information from the ORCPT parameter of the SMTP RCPT
  325.    TO command, as defined in RFC 1891 [8].  If this information is
  326.    available, the delivering MTA SHOULD insert an Original-Recipient
  327.    header at the beginning of the message (along with the Return-Path
  328.    header).  The delivering MTA MAY delete any other Original-Recipient
  329.    headers that occur in the message.  The syntax of this header, using
  330.    the ABNF of RFC 822 [2], is as follows
  331.  
  332.      original-recipient-header =
  333.           "Original-Recipient" ":" address-type ";" generic-address
  334.  
  335.  
  336.  
  337.  
  338. Fajman                      Standards Track                     [Page 6]
  339.  
  340. RFC 2298           Message Disposition Notifications          March 1998
  341.  
  342.  
  343.    The address-type and generic-address token are as as specified in the
  344.    description of the Original-Recipient field in section 3.2.3.
  345.  
  346.    The purpose of carrying the original recipient information and
  347.    returning it in the MDN is to permit automatic correlation of MDNs
  348.    with the original message on a per-recipient basis.
  349.  
  350. 2.4 Use with the Message/Partial Content Type
  351.  
  352.    The use of the headers Disposition-Notification-To, Disposition-
  353.    Notification-Options, and Original-Recipient with the MIME
  354.    Message/partial content type (RFC 2046 [5]) requires further
  355.    definition.
  356.  
  357.    When a message is segmented into two or more message/partial
  358.    fragments, the three headers mentioned in the above paragraph SHOULD
  359.    be placed in the "inner" or "enclosed" message (using the terms of
  360.    RFC 2046 [5]).  These headers SHOULD NOT be used in the headers of
  361.    any of the fragments themselves.
  362.  
  363.    When the multiple message/partial fragments are reassembled, the
  364.    following applies.  If these headers occur along with the other
  365.    headers of a message/partial fragment message, they pertain to an MDN
  366.    to be generated for the fragment.  If these headers occur in the
  367.    headers of the "inner" or "enclosed" message (using the terms of RFC
  368.    2046 [5]), they pertain to an MDN to be generated for the reassembled
  369.    message.  Section 5.2.2.1 of RFC 2046 [5]) is amended to specify
  370.    that, in addition to the headers specified there, the three headers
  371.    described in this specification are to be appended, in order, to the
  372.    headers of the reassembled message.  Any occurances of the three
  373.    headers defined here in the headers of the initial enclosing message
  374.    must not be copied to the reassembled message.
  375.  
  376. 3.  Format of a Message Disposition Notification
  377.  
  378.    A message disposition notification is a MIME message with a top-
  379.    level content-type of multipart/report (defined in RFC 1892 [7]).
  380.    When a multipart/report content is used to transmit an MDN:
  381.  
  382.    (a)  The report-type parameter of the multipart/report content is
  383.         "disposition-notification".
  384.  
  385.    (b)  The first component of the multipart/report contains a human-
  386.         readable explanation of the MDN, as described in RFC 1892 [7].
  387.  
  388.    (c)  The second component of the multipart/report is of content-type
  389.         message/disposition-notification, described in section 3.1 of
  390.         this document.
  391.  
  392.  
  393.  
  394. Fajman                      Standards Track                     [Page 7]
  395.  
  396. RFC 2298           Message Disposition Notifications          March 1998
  397.  
  398.  
  399.    (d)  If the original message or a portion of the message is to be
  400.         returned to the sender, it appears as the third component of the
  401.         multipart/report.  The decision of whether or not to return the
  402.         message or part of the message is up to the UA generating the
  403.         MDN.  However, in the case of encrypted messages requesting
  404.         MDNs, encrypted message text MUST be returned, if it is returned
  405.         at all, only in its original encrypted form.
  406.  
  407.         NOTE:  For message dispostion notifications gatewayed from
  408.         foreign systems, the headers of the original message may not be
  409.         available.  In this case the third component of the MDN may be
  410.         omitted, or it may contain "simulated" RFC 822 headers which
  411.         contain equivalent information.  In particular, it is very
  412.         desirable to preserve the subject and date fields from the
  413.         original message.
  414.  
  415.    The MDN MUST be addressed (in both the message header and the
  416.    transport envelope) to the address(es) from the Disposition-
  417.    Notification-To header from the original message for which the MDN is
  418.    being generated.
  419.  
  420.    The From field of the message header of the MDN MUST contain the
  421.    address of the person for whom the message disposition notification
  422.    is being issued.
  423.  
  424.    The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be
  425.    null (<>), specifying that no Delivery Status Notification messages
  426.    or other messages indicating successful or unsuccessful delivery are
  427.    to be sent in response to an MDN.
  428.  
  429.    A message disposition notification MUST NOT itself request an MDN.
  430.    That is, it MUST NOT contain a Disposition-Notification-To header.
  431.  
  432.    The Message-ID header (if present) for an MDN MUST be different from
  433.    the Message-ID of the message for which the MDN is being issued.
  434.  
  435.    A particular MDN describes the disposition of exactly one message for
  436.    exactly one recipient.  Multiple MDNs may be generated as a result of
  437.    one message submission, one per recipient.  However, due to the
  438.    circumstances described in Section 2.1, MDNs may not be generated for
  439.    some recipients for which MDNs were requested.
  440.  
  441. 3.1 The message/disposition-notification content-type
  442.  
  443.    The message/disposition-notification content-type is defined as
  444.    follows:
  445.  
  446.      MIME type name:                message
  447.  
  448.  
  449.  
  450. Fajman                      Standards Track                     [Page 8]
  451.  
  452. RFC 2298           Message Disposition Notifications          March 1998
  453.  
  454.  
  455.      MIME subtype name:             disposition-notification
  456.      Optional parameters:           none
  457.      Encoding considerations:       "7bit" encoding is sufficient and
  458.                                     MUST be used to maintain readability
  459.                                     when viewed by non-MIME mail
  460.                                     readers.
  461.      Security considerations:       discussed in section 6 of this memo.
  462.  
  463.    The message/disposition-notification report type for use in the
  464.    multipart/report is "disposition-notification".
  465.  
  466.    The body of a message/disposition-notification consists of one or
  467.    more "fields" formatted according to the ABNF of RFC 822 header
  468.    "fields" (see [2]).  Using the ABNF of RFC 822, the syntax of the
  469.    message/disposition-notification content is as follows:
  470.  
  471.      disposition-notification-content = [ reporting-ua-field CRLF ]
  472.           [ mdn-gateway-field CRLF ]
  473.           [ original-recipient-field CRLF ]
  474.           final-recipient-field CRLF
  475.           [ original-message-id-field CRLF ]
  476.           disposition-field CRLF
  477.           *( failure-field CRLF )
  478.           *( error-field CRLF )
  479.           *( warning-field CRLF )
  480.           *( extension-field CRLF )
  481.  
  482. 3.1.1 General conventions for fields
  483.  
  484.    Since these fields are defined according to the rules of RFC 822 [2],
  485.    the same conventions for continuation lines and comments apply.
  486.    Notification fields may be continued onto multiple lines by beginning
  487.    each additional line with a SPACE or HTAB.  Text which appears in
  488.    parentheses is considered a comment and not part of the contents of
  489.    that notification field.  Field names are case-insensitive, so the
  490.    names of notification fields may be spelled in any combination of
  491.    upper and lower case letters.  Comments in notification fields may
  492.    use the "encoded-word" construct defined in RFC 2047 [6].
  493.  
  494. 3.1.2 "*-type" subfields
  495.  
  496.    Several fields consist of a "-type" subfield, followed by a semi-
  497.    colon, followed by "*text".  For these fields, the keyword used in
  498.    the address-type or MTA-type subfield indicates the expected format
  499.    of the address or MTA-name that follows.
  500.  
  501.    The "-type" subfields are defined as follows:
  502.  
  503.  
  504.  
  505.  
  506. Fajman                      Standards Track                     [Page 9]
  507.  
  508. RFC 2298           Message Disposition Notifications          March 1998
  509.  
  510.  
  511.    (a)  An "address-type" specifies the format of a mailbox address.
  512.         For example, Internet Mail addresses use the "rfc822" address-
  513.         type.
  514.  
  515.          address-type = atom
  516.  
  517.    (b)  An "MTA-name-type" specifies the format of a mail transfer
  518.         agent name.  For example, for an SMTP server on an Internet
  519.         host, the MTA name is the domain name of that host, and the
  520.         "dns" MTA-name-type is used.
  521.  
  522.          mta-name-type = atom
  523.  
  524.    Values for address-type and mta-name-type are case-insensitive.  Thus
  525.    address-type values of "RFC822" and "rfc822" are equivalent.
  526.  
  527.    The Internet Assigned Numbers Authority (IANA) will maintain a
  528.    registry of address-type and mta-name-type values, along with
  529.    descriptions of the meanings of each, or a reference to a one or more
  530.    specifications that provide such descriptions.  (The "rfc822"
  531.    address-type is defined in RFC 1891 [8].) Registration forms for
  532.    address-type and mta-name-type appear in RFC 1894 [9].
  533.  
  534.    IANA will not accept registrations for any address-type name that
  535.    begins with "X-".  These type names are reserved for experimental
  536.    use.
  537.  
  538. 3.1.3 Lexical tokens imported from RFC 822
  539.  
  540.    The following lexical tokens, defined in RFC 822 [2], are used in the
  541.    ABNF grammar for MDNs:  atom, CRLF, mailbox, msg-id, text.
  542.  
  543. 3.2 Message/disposition-notification Fields
  544.  
  545. 3.2.1 The Reporting-UA field
  546.  
  547.      reporting-ua-field = "Reporting-UA" ":" ua-name
  548.                           [ ";" ua-product ]
  549.  
  550.      ua-name = *text
  551.  
  552.      ua-product = *text
  553.  
  554.    The Reporting-UA field is defined as follows:
  555.  
  556.    A MDN describes the disposition of a message after it has been
  557.    delivered to a recipient.  In all cases, the Reporting-UA is the UA
  558.    that performed the disposition described in the MDN.  This field is
  559.  
  560.  
  561.  
  562. Fajman                      Standards Track                    [Page 10]
  563.  
  564. RFC 2298           Message Disposition Notifications          March 1998
  565.  
  566.  
  567.    optional, but recommended.  For Internet Mail user agents, it is
  568.    recommended that this field contain both the DNS name of the
  569.    particular instance of the UA that generated the MDN and the name of
  570.    the product.  For example,
  571.  
  572.      Reporting-UA:  rogers-mac.dcrt.nih.gov; Foomail 97.1
  573.  
  574.    If the reporting UA consists of more than one component (e.g., a base
  575.    program and plug-ins), this may be indicated by including a list of
  576.    product names.
  577.  
  578. 3.2.2 The MDN-Gateway field
  579.  
  580.    The MDN-Gateway field indicates the name of the gateway or MTA that
  581.    translated a foreign (non-Internet) message disposition notification
  582.    into this MDN.  This field MUST appear in any MDN which was
  583.    translated by a gateway from a foreign system into MDN format, and
  584.    MUST NOT appear otherwise.
  585.  
  586.         mdn-gateway-field = "MDN-Gateway" ":" mta-name-type ";" mta-name
  587.  
  588.         mta-name = *text
  589.  
  590.    For gateways into Internet Mail, the MTA-name-type will normally be
  591.    "smtp", and the mta-name will be the Internet domain name of the
  592.    gateway.
  593.  
  594. 3.2.3 Original-Recipient field
  595.  
  596.    The Original-Recipient field indicates the original recipient address
  597.    as specified by the sender of the message for which the MDN is being
  598.    issued.  For Internet Mail messages the value of the
  599.  
  600.    Original-Recipient field is obtained from the Original-Recipient
  601.    header from the message for which the MDN is being generated.  If
  602.    there is no Original-Recipient header in the message, then the
  603.    Original-Recipient field MUST be omitted, unless the same information
  604.    is reliably available some other way.  If there is an Original-
  605.    Recipient header in the original message (or original recipient
  606.    information is reliably available some other way), then the
  607.    Original-Recipient field must be supplied.  If there is more than one
  608.    Original-Recipient header in the message, the UA may choose the one
  609.    to use or act as if no Original-Recipient header is present.
  610.  
  611.      original-recipient-field =
  612.           "Original-Recipient" ":" address-type ";" generic-address
  613.  
  614.      generic-address = *text
  615.  
  616.  
  617.  
  618. Fajman                      Standards Track                    [Page 11]
  619.  
  620. RFC 2298           Message Disposition Notifications          March 1998
  621.  
  622.  
  623.    The address-type field indicates the type of the original recipient
  624.    address.  If the message originated within the Internet, the
  625.    address-type field field will normally be "rfc822", and the address
  626.    will be according to the syntax specified in RFC 822 [2].  The value
  627.    "unknown" should be used if the Reporting UA cannot determine the
  628.    type of the original recipient address from the message envelope.
  629.    This address is the same as that provided by the sender and can be
  630.    used to automatically correlate MDN reports with original messages on
  631.    a per recipient basis.
  632.  
  633. 3.2.4 Final-Recipient field
  634.  
  635.    The Final-Recipient field indicates the recipient for which the MDN
  636.    is being issued.  This field MUST be present.
  637.  
  638.    The syntax of the field is as follows:
  639.  
  640.      final-recipient-field =
  641.           "Final-Recipient" ":" address-type ";" generic-address
  642.  
  643.    The generic-address subfield of the Final-Recipient field MUST
  644.    contain the mailbox address of the recipient (from the From header of
  645.    the MDN) as it was when the MDN was generated by the UA.
  646.  
  647.    The Final-Recipient address may differ from the address originally
  648.    provided by the sender, because it may have been transformed during
  649.    forwarding and gatewaying into an totally unrecognizable mess.
  650.    However, in the absence of the optional Original-Recipient field, the
  651.    Final-Recipient field and any returned content may be the only
  652.    information available with which to correlate the MDN with a
  653.    particular message recipient.
  654.  
  655.    The address-type subfield indicates the type of address expected by
  656.    the reporting MTA in that context.  Recipient addresses obtained via
  657.    SMTP will normally be of address-type "rfc822".
  658.  
  659.    Since mailbox addresses (including those used in the Internet) may be
  660.    case sensitive, the case of alphabetic characters in the address MUST
  661.    be preserved.
  662.  
  663. 3.2.5 Original-Message-ID field
  664.  
  665.    The Original-Message-ID field indicates the message-ID of the message
  666.    for which the MDN is being issued.  It is obtained from the Message-
  667.    ID header of the message for which the MDN is issued.  This field
  668.    MUST be present if the original message contained a Message-ID
  669.    header.  The syntax of the field is
  670.  
  671.  
  672.  
  673.  
  674. Fajman                      Standards Track                    [Page 12]
  675.  
  676. RFC 2298           Message Disposition Notifications          March 1998
  677.  
  678.  
  679.         original-message-id-field = "Original-Message-ID" ":" msg-id
  680.  
  681.    The msg-id token is as specified in RFC 822 [2].
  682.  
  683. 3.2.6 Disposition field
  684.  
  685.    The Disposition field indicates the action performed by the
  686.    Reporting-UA on behalf of the user.  This field MUST be present.
  687.  
  688.    The syntax for the Disposition field is:
  689.  
  690.      disposition-field = "Disposition" ":" disposition-mode ";"
  691.                          disposition-type
  692.                          [ '/' disposition-modifier
  693.                            *( "," dispostion-modifier ) ]
  694.  
  695.      disposition-mode = action-mode "/" sending-mode
  696.  
  697.      action-mode = "manual-action" / "automatic-action"
  698.  
  699.      sending-mode = "MDN-sent-manually" / "MDN-sent-automatically"
  700.  
  701.      disposition-type = "displayed"
  702.                       / "dispatched"
  703.                       / "processed"
  704.                       / "deleted"
  705.                       / "denied"
  706.                       / "failed"
  707.  
  708.      disposition-modifier = ( "error" / "warning" )
  709.                           / ( "superseded" / "expired" /
  710.                               "mailbox-terminated" )
  711.                           / disposition-modifier-extension
  712.  
  713.      disposition-modifier-extension = atom
  714.  
  715.    The disposition-mode, disposition-type and disposition-modifier may
  716.    be spelled in any combination of upper and lower case characters.
  717.  
  718. 3.2.6.1 Disposition modes
  719.  
  720.    The following disposition modes are defined:
  721.  
  722.    "manual-action"            The disposition described by the
  723.                               disposition type was a result of an
  724.                               explicit instruction by the user rather
  725.                               than some sort of automatically performed
  726.                               action.
  727.  
  728.  
  729.  
  730. Fajman                      Standards Track                    [Page 13]
  731.  
  732. RFC 2298           Message Disposition Notifications          March 1998
  733.  
  734.  
  735.    "automatic-action"         The disposition described by the
  736.                               disposition type was a result of an
  737.                               automatic action, rather than an explicit
  738.                               instruction by the user for this message.
  739.  
  740.                               "Manual-action" and "automatic-action" are
  741.                               mutually exclusive.  One or the other must
  742.                               be specified.
  743.  
  744.    "MDN-sent-manually"        The user explicity gave permission for
  745.                               this particular MDN to be sent.
  746.  
  747.    "MDN-sent-automatically"   The MDN was sent because the UA had
  748.                               previously been configured to do so
  749.                               automatically.
  750.  
  751.                               "MDN-sent-manually" and "MDN-sent-
  752.                               automatically" are mutually exclusive.
  753.                               One or the other must be specified.
  754.  
  755. 3.2.6.2 Disposition types
  756.  
  757.    The following disposition-types are defined:
  758.  
  759.    "displayed"    The message has been displayed by the UA to someone
  760.                               reading the recipient's mailbox.  There is
  761.                               no guarantee that the content has been
  762.                               read or understood.
  763.  
  764.  
  765.    "dispatched"   The message has been sent somewhere in some manner
  766.                               (e.g., printed, faxed, forwarded) without
  767.                               necessarily having been previously
  768.                               displayed to the user.  The user may or
  769.                               may not see the message later.
  770.  
  771.    "processed"    The message has been processed in some manner (i.e.,
  772.                               by some sort of rules or server) without
  773.                               being displayed to the user.  The user may
  774.                               or may not see the message later, or there
  775.                               may not even be a human user associated
  776.                               with the mailbox.
  777.  
  778.    "deleted"      The message has been deleted.  The recipient may or
  779.                               may not have seen the message.  The
  780.                               recipient might "undelete" the message at
  781.                               a later time and read the message.
  782.  
  783.  
  784.  
  785.  
  786. Fajman                      Standards Track                    [Page 14]
  787.  
  788. RFC 2298           Message Disposition Notifications          March 1998
  789.  
  790.  
  791.    "denied"       The recipient does not wish the sender to be informed
  792.                               of the message's disposition.  A UA may
  793.                               also siliently ignore message disposition
  794.                               requests in this situation.
  795.  
  796.    "failed"       A failure occurred that prevented the proper
  797.                               generation of an MDN.  More information
  798.                               about the cause of the failure may be
  799.                               contained in a Failure field.  The
  800.                               "failed" disposition type is not to be
  801.                               used for the situation in which there is
  802.                               is some problem in processing the message
  803.                               other than interpreting the request for an
  804.                               MDN.  The "processed" or other disposition
  805.                               type with appropriate disposition
  806.                               modifiers is to be used in such
  807.                               situations.
  808.  
  809. 3.2.6.3 Disposition modifiers
  810.  
  811.    The following disposition modifiers are defined:
  812.  
  813.    "error"                            An error of some sort occurred
  814.                                       that prevented successful
  815.                                       processing of the message.
  816.                                       Further information is contained
  817.                                       in an Error field.
  818.  
  819.    "warning"                          The message was successfully
  820.                                       processed but some sort of
  821.                                       exceptional condition occurred.
  822.                                       Further information is contained
  823.                                       in a Warning field.
  824.  
  825.    "superseded"                       The message has been
  826.                                       automatically rendered obsolete by
  827.                                       another message received.  The
  828.                                       recipient may still access and
  829.                                       read the message later.
  830.  
  831.    "expired"                          The message has reached its
  832.                                       expiration date and has been
  833.                                       automatically removed from the
  834.                                       recipient's mailbox.
  835.  
  836.    "mailbox-terminated"               The recipient's mailbox has been
  837.                                       terminated and all message in it
  838.                                       automatically removed.
  839.  
  840.  
  841.  
  842. Fajman                      Standards Track                    [Page 15]
  843.  
  844. RFC 2298           Message Disposition Notifications          March 1998
  845.  
  846.  
  847.                                       "Obsoleted", "expired", and
  848.                                       "terminated" are to be used with
  849.                                       the "deleted" disposition type and
  850.                                       the "autoaction" and "autosent"
  851.                                       disposition modifiers.
  852.  
  853.    disposition-modifier-extension     Additional disposition modifiers
  854.                                       may be defined in the future by
  855.                                       later revisions or extensions to
  856.                                       this specification.  Disposition
  857.                                       value names beginning with "X-"
  858.                                       will never be defined as standard
  859.                                       values; such names are reserved
  860.                                       for experimental use.  MDN
  861.                                       disposition value names NOT
  862.                                       beginning with "X-" MUST be
  863.                                       registered with the Internet
  864.                                       Assigned Numbers Authority (IANA)
  865.                                       and described in a standards-
  866.                                       track RFC or an experimental RFC
  867.                                       approved by the IESG.  See Section
  868.                                       10 for a registration form.  MDNs
  869.                                       with disposition modifier names
  870.                                       not understood by the receiving UA
  871.                                       MAY be silently ignored or placed
  872.                                       in the user's mailbox without
  873.                                       special inter- pretation.  They
  874.                                       MUST not cause any error message
  875.                                       to be sent to the sender of the
  876.                                       MDN.
  877.  
  878.                                       If an UA developer does not wish
  879.                                       to register the meanings of such
  880.                                       disposition modifier extensions,
  881.                                       "X-" modifiers may be used for
  882.                                       this purpose.  To avoid name
  883.                                       collisions, the name of the UA
  884.                                       implementation should follow the
  885.                                       "X-", (e.g. "X-Foomail-fratzed").
  886.  
  887.    It is not required that a UA be able to generate all of the possible
  888.    values of the Disposition field.
  889.  
  890.    One and only one MDN may be issued on behalf of each particular
  891.    recipient by their user agent.  That is, once an MDN has been issued
  892.    on behalf of a recipient, no further MDNs may be issued on behalf of
  893.    that recipient, even if another disposition is performed on the
  894.    message.  However, if a message is forwarded, a "dispatched" MDN may
  895.  
  896.  
  897.  
  898. Fajman                      Standards Track                    [Page 16]
  899.  
  900. RFC 2298           Message Disposition Notifications          March 1998
  901.  
  902.  
  903.    been issued for the recipient doing the forwarding and the recipient
  904.    of the forwarded message may also cause an MDN to be generated.
  905.  
  906. 3.2.7 Failure, Error and Warning fields
  907.  
  908.    The Failure, Error and Warning fields are used to supply additional
  909.    information in the form of text messages when the "failure"
  910.    disposition type, "error" disposition modifier, and/or the "warning"
  911.    disposition modifer appear.  The syntax is
  912.  
  913.      failure-field = "Failure" ":" *text
  914.  
  915.      error-field = "Error" ":" *text
  916.  
  917.      warning-field = "Warning" ":" *text
  918.  
  919. 3.3 Extension fields
  920.  
  921.    Additional MDN fields may be defined in the future by later revisions
  922.    or extensions to this specification.  Extension-field names beginning
  923.    with "X-" will never be defined as standard fields; such names are
  924.    reserved for experimental use.  MDN field names NOT beginning with
  925.    "X-" MUST be registered with the Internet Assigned Numbers Authority
  926.    (IANA) and described in a standards-track RFC or an experimental RFC
  927.    approved by the IESG.  See Section 10 for a registration form.
  928.  
  929.    Extension MDN fields may be defined for the following reasons:
  930.  
  931.    (a)  To allow additional information from foreign disposition
  932.         reports to be tunneled through Internet MDNs.  The names of such
  933.         MDN fields should begin with an indication of the foreign
  934.         environment name (e.g. X400-Physical-Forwarding-Address).
  935.  
  936.    (b)  To allow transmission of diagnostic information which is
  937.         specific to a particular user agent (UA).  The names of such MDN
  938.         fields should begin with an indication of the UA implementation
  939.         which produced the MDN.  (e.g. Foomail-information).
  940.  
  941.    If an application developer does not wish to register the meanings of
  942.    such extension fields, "X-" fields may be used for this purpose.  To
  943.    avoid name collisions, the name of the application implementation
  944.    should follow the "X-", (e.g. "X-Foomail-Log-ID" or "X-EDI-info").
  945.  
  946. 4.  Timeline of events
  947.  
  948.    The following timeline shows when various events in the processing of
  949.    a message and generation of MDNs take place:
  950.  
  951.  
  952.  
  953.  
  954. Fajman                      Standards Track                    [Page 17]
  955.  
  956. RFC 2298           Message Disposition Notifications          March 1998
  957.  
  958.  
  959.    -- User composes message
  960.  
  961.    -- User tells UA to send message
  962.  
  963.    -- UA passes message to MTA (original recipient information
  964.       passed along)
  965.  
  966.    -- MTA sends message to next MTA
  967.  
  968.    -- Final MTA receives message
  969.  
  970.    -- Final MTA delivers message to UA (possibily generating DSN)
  971.  
  972.    -- UA performs automatic processing and generates corresponding
  973.       MDNs ("dispatched", "processed", "deleted", "denied" or "failed"
  974.       disposition type with "automatic-action" and "MDN-sent-
  975.       automatically" disposition modes)
  976.  
  977.    -- UA displays list of messages to user
  978.  
  979.    -- User selects a message and requests that some action be
  980.       performed on it.
  981.  
  982.    -- UA performs requested action and, with user's permission,
  983.       sends appropriate MDN ("displayed", "dispatched", "processed",
  984.       "deleted", "denied" or "failed" disposition type with "manual-
  985.       action" and "MDN-sent-manually" or "MDN-sent-automatically"
  986.       disposition mode).
  987.  
  988.    -- User possibly performs other actions on message, but no
  989.       further MDNs are generated.
  990.  
  991. 5.  Conformance and Usage Requirements
  992.  
  993.    A UA or gateway conforms to this specification if it generates MDNs
  994.    according to the protocol defined in this memo.  It is not necessary
  995.    to be able to generate all of the possible values of the Disposition
  996.    field.
  997.  
  998.    UAs and gateways MUST NOT generate the Original-Recipient field of an
  999.    MDN unless the mail protocols provide the address originally
  1000.    specified by the sender at the time of submission.  Ordinary SMTP
  1001.    does not make that guarantee, but the SMTP extension defined in RFC
  1002.    1891 [8] permits such information to be carried in the envelope if it
  1003.    is available.  The Original-Recipient header defined in this document
  1004.    provides a way for the MTA to pass the original recipient address to
  1005.    the UA.
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Fajman                      Standards Track                    [Page 18]
  1011.  
  1012. RFC 2298           Message Disposition Notifications          March 1998
  1013.  
  1014.  
  1015.    Each sender-specified recipient address may result in more than one
  1016.    MDN.  If an MDN is requested for a recipient that is forwarded to
  1017.    multiple recipients of an "alias" (as defined in RFC 1891 [8],
  1018.    section 6.2.7.3), each of the recipients may issue an MDN.
  1019.  
  1020.    Successful distribution of a message to a mailing list exploder
  1021.    SHOULD be considered final disposition of the message.  A mailing
  1022.    list exploder may issue an MDN with a disposition type of "processed"
  1023.    and disposition modes of "automatic-action" and "MDN- sent-
  1024.    automatically" indicating that the message has been forwarded to the
  1025.    list.  In this case, the request for MDNs is not propogated to the
  1026.    members of the list.
  1027.  
  1028.    Alternaively, the mailing list exploder may issue no MDN and
  1029.    propogate the request for MDNs to all members of the list.  The
  1030.    latter behavior is not recommended for any but small, closely knit
  1031.    lists, as it might cause large numbers of MDNs to be generated and
  1032.    may cause confidential subscribers to the list to be revealed.  It is
  1033.    also permissible for the mailing list exploder to direct MDNs to
  1034.    itself, correlate them, and produce a report to the original sender
  1035.    of the message.
  1036.  
  1037.    This specification places no restrictions on the processing of MDNs
  1038.    received by user agents or mailing lists.
  1039.  
  1040. 6.  Security Considerations
  1041.  
  1042.    The following security considerations apply when using MDNs:
  1043.  
  1044. 6.1 Forgery
  1045.  
  1046.    MDNs may be forged as easily as ordinary Internet electronic mail.
  1047.    User agents and automatic mail handling facilities (such as mail
  1048.    distribution list exploders) that wish to make automatic use of MDNs
  1049.    should take appropriate precautions to minimize the potential damage
  1050.    from denial-of-service attacks.
  1051.  
  1052.    Security threats related to forged MDNs include the sending of:
  1053.  
  1054.    (a)  A falsified disposition notification when the indicated
  1055.         disposition of the message has not actually ocurred,
  1056.  
  1057.    (b)  Unsolicited MDNs
  1058.  
  1059. 6.2 Confidentiality
  1060.  
  1061.    Another dimension of security is confidentiality.  There may be cases
  1062.    in which a message recipient does not wish the disposition of
  1063.  
  1064.  
  1065.  
  1066. Fajman                      Standards Track                    [Page 19]
  1067.  
  1068. RFC 2298           Message Disposition Notifications          March 1998
  1069.  
  1070.  
  1071.    messages addressed to him to be known or is concerned that the
  1072.    sending of MDNs may reveal other confidential information (e.g., when
  1073.    the message was read).  In this situation, it is acceptable for the
  1074.    UA to issue "denied" MDNs or to silently ignore requests for MDNs.
  1075.  
  1076.    If the Disposition-Notification-To header is passed on unmodified
  1077.    when a message is distributed to the subscribers of a mailing list,
  1078.    the subscribers to the list may be revealed to the sender of the
  1079.    original message by the generation of MDNs.
  1080.  
  1081.    Headers of the original message returned in part 3 of the
  1082.    multipart/report could reveal confidential information about host
  1083.    names and/or network topology inside a firewall.
  1084.  
  1085.    An unencrypted MDN could reveal confidential information about an
  1086.    encrypted message, especially if all or part of the original message
  1087.    is returned in part 3 of the multipart/report.  Encrypted MDNs are
  1088.    not defined in this specification.
  1089.  
  1090.    In general, any optional MDN field may be omitted if the Reporting UA
  1091.    site or user determines that inclusion of the field would impose too
  1092.    great a compromise of site confidentiality.  The need for such
  1093.    confidentiality must be balanced against the utility of the omitted
  1094.    information in MDNs.
  1095.  
  1096. 6.3 Non-Repudiation
  1097.  
  1098.    Within the framework of today's Internet Mail, the MDNs defined in
  1099.    this document provide valuable information to the mail user; however,
  1100.    MDNs can not be relied upon as a guarantee that a message was or was
  1101.    not not seen by the recipient.  Even if MDNs are not actively forged,
  1102.    they may be lost in transit.  The MDN issuing mechanism may be
  1103.    bypassed in some manner by the recipient.
  1104.  
  1105. 7.  Collected Grammar
  1106.  
  1107.    NOTE:  The following lexical tokens are defined in RFC 822:  atom,
  1108.    CRLF, mailbox, msg-id, text.  The definitions of attribute and value
  1109.    are as in the definition of the Content-Type header in RFC 2045 [4].
  1110.  
  1111.    Message headers:
  1112.  
  1113.    mdn-request-header = "Disposition-Notification-To" ":" 1#mailbox
  1114.  
  1115.    Disposition-Notification-Options =
  1116.         "Disposition-Notification-Options" ":"
  1117.         disposition-notification-parameters
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Fajman                      Standards Track                    [Page 20]
  1123.  
  1124. RFC 2298           Message Disposition Notifications          March 1998
  1125.  
  1126.  
  1127.    disposition-notification-parameters = parameter *(";" parameter)
  1128.  
  1129.    parameter = attribute "=" importance "," 1#value
  1130.  
  1131.    importance = "required" / "optional"
  1132.  
  1133.    original-recipient-header =
  1134.         "Original-Recipient" ":" address-type ";" generic-address
  1135.  
  1136.  
  1137.    Report content:
  1138.  
  1139.    disposition-notification-content = [ reporting-ua-field CRLF ]
  1140.         [ mdn-gateway-field CRLF ]
  1141.         [ original-recipient-field CRLF ]
  1142.         final-recipient-field CRLF
  1143.         [ original-message-id-field CRLF ]
  1144.         disposition-field CRLF
  1145.         *( failure-field CRLF )
  1146.         *( error-field CRLF )
  1147.         *( warning-field CRLF )
  1148.         *( extension-field CRLF )
  1149.  
  1150.    address-type = atom
  1151.  
  1152.    mta-name-type = atom
  1153.  
  1154.    reporting-ua-field = "Reporting-UA" ":" ua-name
  1155.                         [ ";" ua-product ]
  1156.  
  1157.    ua-name = *text
  1158.  
  1159.    ua-product = *text
  1160.  
  1161.    mdn-gateway-field = "MDN-Gateway" ":" mta-name-type ";" mta-name
  1162.  
  1163.    mta-name = *text
  1164.  
  1165.    original-recipient-field =
  1166.         "Original-Recipient" ":" address-type ";" generic-address
  1167.  
  1168.    generic-address = *text
  1169.  
  1170.    final-recipient-field =
  1171.         "Final-Recipient" ":" address-type ";" generic-address
  1172.  
  1173.    disposition-field = "Disposition" ":" disposition-mode ";"
  1174.                        disposition-type
  1175.  
  1176.  
  1177.  
  1178. Fajman                      Standards Track                    [Page 21]
  1179.  
  1180. RFC 2298           Message Disposition Notifications          March 1998
  1181.  
  1182.  
  1183.                        [ '/' disposition-modifier
  1184.                          *( "," dispostion-modifier ) ]
  1185.  
  1186.    disposition-mode = action-mode "/" sending-mode
  1187.  
  1188.    action-mode = "manual-action" / "automatic-action"
  1189.  
  1190.    sending-mode = "MDN-sent-manually" / "MDN-sent-automatically"
  1191.  
  1192.    disposition-type = "displayed"
  1193.                     / "dispatched"
  1194.                     / "processed"
  1195.                     / "deleted"
  1196.                     / "denied"
  1197.                     / "failed"
  1198.  
  1199.    disposition-modifier = ( "error" / "warning" )
  1200.                         / ( "superseded" / "expired" /
  1201.                             "mailbox-terminated" )
  1202.                         / disposition-modifier-extension
  1203.  
  1204.    disposition-modifier-extension = atom
  1205.  
  1206.    original-message-id-field = "Original-Message-ID" ":" msg-id
  1207.  
  1208.    failure-field = "Failure" ":" *text
  1209.  
  1210.    error-field = "Error" ":" *text
  1211.  
  1212.    warning-field = "Warning" ":" *text
  1213.  
  1214.    extension-field = extension-field-name ":" *text
  1215.  
  1216.    extension-field-name = atom
  1217.  
  1218. 8.  Guidelines for Gatewaying MDNs
  1219.  
  1220.    NOTE:  This section provides non-binding recommendations for the
  1221.    construction of mail gateways that wish to provide semi-transparent
  1222.    disposition notifications between the Internet and another electronic
  1223.    mail system.  Specific MDN gateway requirements for a particular pair
  1224.    of mail systems may be defined by other documents.
  1225.  
  1226. 8.1 Gatewaying from other mail systems to MDNs
  1227.  
  1228.    A mail gateway may issue an MDN to convey the contents of a "foreign"
  1229.    disposition notification over Internet Mail.  When there are
  1230.    appropriate mappings from the foreign notification elements to MDN
  1231.  
  1232.  
  1233.  
  1234. Fajman                      Standards Track                    [Page 22]
  1235.  
  1236. RFC 2298           Message Disposition Notifications          March 1998
  1237.  
  1238.  
  1239.    fields, the information may be transmitted in those MDN fields.
  1240.    Additional information (such as might be needed to tunnel the foreign
  1241.    notification through the Internet) may be defined in extension MDN
  1242.    fields.  (Such fields should be given names that identify the foreign
  1243.    mail protocol, e.g. X400-* for X.400 protocol elements)
  1244.  
  1245.    The gateway must attempt to supply reasonable values for the
  1246.    Reporting-UA, Final-Recipient, and Disposition fields.  These will
  1247.    normally be obtained by translating the values from the foreign
  1248.    notification into their Internet-style equivalents.  However, some
  1249.    loss of information is to be expected.
  1250.  
  1251.    The sender-specified recipient address, and the original message-id,
  1252.    if present in the foreign notification, should be preserved in the
  1253.    Original-Recipient and Original-Message-ID fields.
  1254.  
  1255.    The gateway should also attempt to preserve the "final" recipient
  1256.    address from the foreign system.  Whenever possible, foreign protocol
  1257.    elements should be encoded as meaningful printable ASCII strings.
  1258.  
  1259.    For MDNs produced from foreign disposition notifications, the name of
  1260.    the gateway MUST appear in the MDN-Gateway field of the MDN.
  1261.  
  1262. 8.2 Gatewaying from MDNs to other mail systems
  1263.  
  1264.    It may be possible to gateway MDNs from the Internet into a foreign
  1265.    mail system.  The primary purpose of such gatewaying is to convey
  1266.    disposition information in a form that is usable by the destination
  1267.    system.  A secondary purpose is to allow "tunneling" of MDNs through
  1268.    foreign mail systems, in case the MDN may be gatewayed back into the
  1269.    Internet.
  1270.  
  1271.    In general, the recipient of the MDN (i.e., the sender of the
  1272.    original message) will want to know, for each recipient:  the closest
  1273.    available approximation to the original recipient address, and the
  1274.    disposition (displayed, printed, etc.).
  1275.  
  1276.    If possible, the gateway should attempt to preserve the Original-
  1277.    Recipient address and Original-Message-ID (if present), in the
  1278.    resulting foreign disposition report.
  1279.  
  1280.    If it is possible to tunnel an MDN through the destination
  1281.    environment, the gateway specification may define a means of
  1282.    preserving the MDN information in the disposition reports used by
  1283.    that environment.
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Fajman                      Standards Track                    [Page 23]
  1291.  
  1292. RFC 2298           Message Disposition Notifications          March 1998
  1293.  
  1294.  
  1295. 9.  Example
  1296.  
  1297.    NOTE:  This example is provided as illustration only, and is not
  1298.    considered part of the MDN protocol specification.  If the example
  1299.    conflicts with the protocol definition above, the example is wrong.
  1300.  
  1301.    Likewise, the use of *-type subfield names or extension fields in
  1302.    this example is not to be construed as a definition for those type
  1303.    names or extension fields.
  1304.  
  1305. 9.1 This is an MDN issued after a message has been displayed to the user
  1306.    of an Internet Mail user agent.
  1307.  
  1308.    Date: Wed, 20 Sep 1995 00:19:00 (EDT) -0400
  1309.    From: Joe Recipient <Joe_Recipient@mega.edu>
  1310.    Message-Id: <199509200019.12345@mega.edu>
  1311.    Subject: Disposition notification
  1312.    To: Jane Sender <Jane_Sender@huge.com>
  1313.    MIME-Version: 1.0
  1314.    Content-Type: multipart/report; report-type=disposition-notification;
  1315.          boundary="RAA14128.773615765/mega.edu"
  1316.  
  1317.    --RAA14128.773615765/mega.edu
  1318.  
  1319.    The message sent on 1995 Sep 19 at 13:30:00 (EDT) -0400 to Joe
  1320.    Recipient <Joe_Recipient@mega.edu> with subject "First draft of
  1321.    report" has been displayed.  This is no guarantee that the message
  1322.    has been read or understood.
  1323.  
  1324.    --RAA14128.773615765/mega.edu
  1325.    content-type: message/disposition-notification
  1326.  
  1327.    Reporting-UA: joes-pc.cs.mega.edu; Foomail 97.1
  1328.    Original-Recipient: rfc822;Joe_Recipient@mega.edu
  1329.    Final-Recipient: rfc822;Joe_Recipient@mega.edu
  1330.    Original-Message-ID: <199509192301.23456@huge.com>
  1331.    Disposition: manual-action/MDN-sent-manually; displayed
  1332.  
  1333.    --RAA14128.773615765/mega.edu
  1334.    content-type: message/rfc822
  1335.  
  1336.    [original message goes here]
  1337.  
  1338.    --RAA14128.773615765/mega.edu--
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346. Fajman                      Standards Track                    [Page 24]
  1347.  
  1348. RFC 2298           Message Disposition Notifications          March 1998
  1349.  
  1350.  
  1351. 10.  IANA Registration Forms
  1352.  
  1353.    The forms below are for use when registering a new parameter name for
  1354.    the Disposition-Notification-Options header, a new disposition
  1355.    modifier name, or a new MDN extension field.  Each piece of
  1356.    information required by a registration form may be satisfied either
  1357.    by providing the information on the form itself, or by including a
  1358.    reference to a published, publicly available specification that
  1359.    includes the necessary information.  IANA MAY reject registrations
  1360.    because of incomplete registration forms, imprecise specifications,
  1361.    or inappropriate names.
  1362.  
  1363.    To register, complete the applicable form below and send it via
  1364.    electronic mail to <IANA@IANA.ORG>.
  1365.  
  1366. 10.1 IANA registration form for Disposition-Notification-Options header
  1367.    parameter names
  1368.  
  1369.    A registration for a Disposition-Notification-Options header
  1370.    parameter name MUST include the following information:
  1371.  
  1372.    (a) The proposed parameter name.
  1373.  
  1374.    (b) The syntax for parameter values, specified using BNF, ABNF,
  1375.    regular expressions, or other non-ambiguous language.
  1376.  
  1377.    (c) If parameter values are not composed entirely of graphic
  1378.    characters from the US-ASCII repertoire, a specification for how they
  1379.    are to be encoded as graphic US-ASCII characters in a Disposition-
  1380.    Notification-Options header.
  1381.  
  1382.    (d) A reference to a standards track RFC or experimental RFC approved
  1383.    by the IESG that describes the semantics of the parameter values.
  1384.  
  1385. 10.2 IANA registration form for disposition modifer names
  1386.  
  1387.    A registration for a disposition-modifier name MUST include the
  1388.    following information:
  1389.  
  1390.    (a) The proposed disposition-modifier name.
  1391.  
  1392.    (b) A reference to a standards track RFC or experimental RFC approved
  1393.    by the IESG that describes the semantics of the disposition modifier.
  1394.  
  1395. 10.3 IANA registration form for MDN extension field names
  1396.  
  1397.    A registration for an MDN extension field name MUST include the
  1398.    following information:
  1399.  
  1400.  
  1401.  
  1402. Fajman                      Standards Track                    [Page 25]
  1403.  
  1404. RFC 2298           Message Disposition Notifications          March 1998
  1405.  
  1406.  
  1407.    (a) The proposed extension field name.
  1408.  
  1409.    (b) The syntax for extension values, specified using BNF, ABNF,
  1410.    regular expressions, or other non-ambiguous language.
  1411.  
  1412.    (c) If extension field values are not composed entirely of graphic
  1413.    characters from the US-ASCII repertoire, a specification for how they
  1414.    are to be encoded as graphic US-ASCII characters in a Disposition-
  1415.    Notification-Options header.
  1416.  
  1417.    (d) A reference to a standards track RFC or experimental RFC approved
  1418.    by the IESG that describes the semantics of the extension field.
  1419.  
  1420. 11.  Acknowledgments
  1421.  
  1422.    This document is based on the Delivery Status Notifications document,
  1423.    RFC 1894 [9], by Keith Moore and Greg Vaudreuil.  Contributions were
  1424.    made by members of the IETF Receipt Working Group, including Harald
  1425.    Alverstrand, Ian Bell, Urs Eppenberger, Claus Andri Faerber, Ned
  1426.    Freed, Jim Galvin, Carl Hage, Mike Lake, Keith Moore, Paul Overell,
  1427.    Pete Resnick, Chuck Shih.
  1428.  
  1429. 12.  References
  1430.  
  1431.    [1]   Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC 821,
  1432.          August 1982.
  1433.  
  1434.    [2]   Crocker, D., "Standard for the Format of ARPA Internet Text
  1435.          Messages", STD 11, RFC 822, August 1982.
  1436.  
  1437.    [3]   Braden, R. (ed.), "Requirements for Internet Hosts -
  1438.          Application and Support", STD 3, RFC 1123, October 1989.
  1439.  
  1440.    [4]   Freed, N., and N. Borenstein, "Multipurpose Internet Mail
  1441.          Extensions (MIME) Part One:  Format of Internet Message
  1442.          Bodies", RFC 2045, November 1996.
  1443.  
  1444.    [5]   Freed, N., and N. Borenstein, "Multipurpose Internet Mail
  1445.          Extensions (MIME) Part Two:  Media Types", RFC 2046, November
  1446.          1996.
  1447.  
  1448.    [6]   Moore, K., "Multipurpose Internet Mail Extensions (MIME) Part
  1449.          Three:  Message Header Extensions for Non-Ascii Text", RFC
  1450.          2047, November 1996.
  1451.  
  1452.    [7]   Vaudreuil, G., "The Multipart/Report Content Type for the
  1453.          Reporting of Mail System Administrative Messages", RFC 1892,
  1454.          January 1996.
  1455.  
  1456.  
  1457.  
  1458. Fajman                      Standards Track                    [Page 26]
  1459.  
  1460. RFC 2298           Message Disposition Notifications          March 1998
  1461.  
  1462.  
  1463.    [8]   Moore, K., "SMTP Service Extension for Delivery Status
  1464.          Notifications", RFC 1891, January 1996.
  1465.  
  1466.    [9]   Moore, K., and G. Vaudreuil, "An Extensible Format for
  1467.          Delivery Status Notifications, RFC 1894, January 1996.
  1468.  
  1469.    [10]  Bradner, S., "Key Words for Use in RFCs to Indicate
  1470.          Requirement Levels", BCP 14, RFC 2119, March 1997.
  1471.  
  1472. 13.  Author's Address
  1473.  
  1474.    Roger Fajman
  1475.    National Institutes of Health
  1476.    Building 12A, Room 3063
  1477.    12 South Drive MSC 5659
  1478.    Bethesda, Maryland 20892-5659
  1479.    USA
  1480.  
  1481.    EMail:  raf@cu.nih.gov
  1482.    Phone:  +1 301 402 4265
  1483.    Fax:    +1 301 480 6241
  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. Fajman                      Standards Track                    [Page 27]
  1515.  
  1516. RFC 2298           Message Disposition Notifications          March 1998
  1517.  
  1518.  
  1519. 14.  Full Copyright Statement
  1520.  
  1521.    Copyright (C) The Internet Society (1998).  All Rights Reserved.
  1522.  
  1523.    This document and translations of it may be copied and furnished to
  1524.    others, and derivative works that comment on or otherwise explain it
  1525.    or assist in its implementation may be prepared, copied, published
  1526.    and distributed, in whole or in part, without restriction of any
  1527.    kind, provided that the above copyright notice and this paragraph are
  1528.    included on all such copies and derivative works.  However, this
  1529.    document itself may not be modified in any way, such as by removing
  1530.    the copyright notice or references to the Internet Society or other
  1531.    Internet organizations, except as needed for the purpose of
  1532.    developing Internet standards in which case the procedures for
  1533.    copyrights defined in the Internet Standards process must be
  1534.    followed, or as required to translate it into languages other than
  1535.    English.
  1536.  
  1537.    The limited permissions granted above are perpetual and will not be
  1538.    revoked by the Internet Society or its successors or assigns.
  1539.  
  1540.    This document and the information contained herein is provided on an
  1541.    "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
  1542.    TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
  1543.    BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
  1544.    HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
  1545.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  1546.  
  1547.  
  1548.  
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570. Fajman                      Standards Track                    [Page 28]
  1571.  
  1572.