ietf-corpus

rfc-3886

An Extensible Message Format for Message Tracking Responses

E. Allman
date2004-09 streamIETF areaapp wgmsgtrk statusPROPOSED STANDARD pages11 canonicalhttps://www.rfc-editor.org/rfc/rfc3886 doi10.17487/RFC3886 errataview
Message Tracking is expected to be used to determine the status of undelivered e-mail upon request. Tracking is used in conjunction with Delivery Status Notifications (DSN) and Message Disposition Notifications (MDN); generally, a message tracking request will be issued only when a DSN or MDN has not been received within a reasonable timeout period. This memo defines a MIME content-type for message tracking status in the same spirit as RFC 3464, "An Extensible Message Format for Delivery Status Notifications". It is to be issued upon a request as described in "Message Tracking Query Protocol". This memo defines only the format of the status information. An extension to SMTP to label messages for further tracking and request tracking status is defined in a separate memo. [STANDARDS-TRACK]

updates

Extracted elements (24)

design-rationale §2

Message tracking is intended as a 'last resort' mechanism. DSNs and MDNs provide primary delivery status; only if no response is received from either would Message Tracking be used, keeping tracking requests rare and reducing privacy exposure.

email, privacy

design-rationale §3.3.3

The distinction between 'expanded' and 'delivered' action values exists because some deliveries cause list expansion without the MTA's knowledge (e.g., delivery to a program that causes expansion). If the MTA cannot ensure list expansion will occur, it should use 'delivered'.

email

interoperability-note §2

This document is based on RFC 3464 (DSN format) and incorporates by reference sections on general conventions, *-type subfields, and lexical tokens. Fields such as Original-Envelope-Id, Reporting-MTA, Arrival-Date, Original-Recipient, Final-Recipient, Action, Status, Remote-MTA, Last-Attempt-Date, and Will-Retry-Until are defined as in RFC 3464.

email

normative-requirement §3.5 SHOULD

An LDA speaking LMTP that supports the MTRK extension SHOULD pass the tracking request to the LDA; in this case the MTA->LDA exchange will issue a 'transferred' tracking status.

email

normative-requirement §3.3.3 MUST

The Action field MUST be present for each recipient named in the MTSN. Valid values are: failed, delayed, delivered, expanded, relayed, transferred, opaque.

email

normative-requirement §3.2.3 REQUIRED

The Arrival-Date field (as defined in RFC 3464 section 2.2.5) is REQUIRED in the per-message fields of every MTSN.

email

normative-requirement §3.3.6 REQUIRED

The Last-Attempt-Date field is REQUIRED if any delivery attempt has been made and the Action field does not have value 'opaque'. It MUST NOT be included if no delivery attempts have been made.

email

normative-requirement §3.2.1 REQUIRED

The Original-Envelope-Id field (as defined in RFC 3464 section 2.2.1) is REQUIRED in the per-message fields of every MTSN.

email

normative-requirement §3.3.5 MUST NOT

The Remote-MTA field MUST NOT be included if no delivery attempts have been made or if the Action field has value 'opaque'.

email

normative-requirement §3.2.2 REQUIRED

The Reporting-MTA field (as defined in RFC 3464 section 2.2.2) is REQUIRED in the per-message fields of every MTSN.

email

normative-requirement §3.3.4 REQUIRED

The Status field is REQUIRED for each per-recipient group. The new code X.1.9 must be used exclusively with a 'relayed' Action field.

email

normative-requirement §3.3.7 SHOULD

The Will-Retry-Until field MUST NOT be included if the message is not in the local queue or if the Action field has value 'opaque'; otherwise, this field SHOULD be included.

email

normative-requirement §4.2 MUST NOT

Tracking algorithms MUST NOT allow tracking through list expansions. When a message is delivered to a list, a tracking request MUST respond with an 'expanded' status and MUST NOT display the contents of the list.

security, privacy, email

normative-requirement §3.3.3 SHOULD NOT

When the Action field value is 'delivered', 'expanded', or 'relayed', the tracking agent SHOULD NOT attempt further downstream tracking requests.

email

normative-requirement §3.3.3 SHOULD

When the Action field value is 'transferred', the tracking agent SHOULD attempt further downstream tracking requests unless that information is already given in a chaining response.

email

privacy-consideration §4.2

Message recipients who autoforward messages may not wish to divulge the forwarding address. MTA authors are encouraged to provide confidentiality mechanisms, such as responding with 'relayed' status or declaring delivery and re-sending to a confidential address without revealing it.

privacy, email

protocol-element §3

A Message Tracking Status Notification (MTSN) body MUST be a multipart/related with type parameter of 'message/tracking-status'; each subpart MUST be of type 'message/tracking-status'. Multiple parts may be included when an MTQP server chains requests to the next server.

email

protocol-element §3.3.4

A new enhanced status code X.1.9 ('Message relayed to non-compliant mailer') is added to RFC 3463. A 2.1.9 Status field MUST be used exclusively with a 'relayed' Action field.

email

protocol-element §3.3

Per-recipient fields include: Original-Recipient (REQUIRED), Final-Recipient (REQUIRED), Action (REQUIRED), Status (REQUIRED), and optional Remote-MTA, Last-Attempt-Date, and Will-Retry-Until fields, plus extension fields.

email

protocol-element §3.3.3

The Action field defines seven possible states: 'failed' (delivery failed), 'delayed' (in queue awaiting delivery), 'delivered' (successfully delivered to final recipient), 'expanded' (forwarded to multiple addresses), 'relayed' (delivered to non-tracking environment), 'transferred' (transferred to another MTRK-compliant MTA), 'opaque' (unknown status).

email

protocol-element §3.1

The message/tracking-status MIME content-type uses '7bit' encoding, which MUST be used to maintain readability when viewed by non-MIME mail readers. It has no optional parameters.

email

registry §5

IANA has registered the SMTP extension defined in this document (message/tracking-status MIME type and associated MTSN format) as described in section 5.

registry, email

security-consideration §4.1

Malicious servers may attempt to subvert message tracking and return false information, resulting in misdirection or misinterpretation of results.

security, email

wire-format §3.1

The message/tracking-status body consists of per-message fields followed by a blank line, then one or more groups of per-recipient fields each preceded by a blank line. Formally: tracking-status-content = per-message-fields 1*( CRLF per-recipient-fields ).

email