ietf-corpus

rfc-3462

The Multipart/Report Content Type for the Reporting of Mail System Administrative Messages

G. Vaudreuil
date2003-01 streamIETF wgnon working group statusDRAFT STANDARD pages7 canonicalhttps://www.rfc-editor.org/rfc/rfc3462 doi10.17487/RFC3462
The Multipart/Report Multipurpose Internet Mail Extensions (MIME) content-type is a general "family" or "container" type for electronic mail reports of any kind. Although this memo defines only the use of the Multipart/Report content-type with respect to delivery status reports, mail processing programs will benefit if a single content-type is used to for all kinds of reports. This document is part of a four document set describing the delivery status report service. This collection includes the Simple Mail Transfer Protocol (SMTP) extensions to request delivery status reports, a MIME content for the reporting of delivery reports, an enumeration of extended status codes, and a multipart container for the delivery report, the original message, and a human-friendly summary of the failure. [STANDARDS-TRACK]

obsoleted by

obsoletes

updated by

Extracted elements (16)

design-rationale §1

A single Multipart/Report content-type is defined for all kinds of mail system reports so that mail processing programs can benefit from uniform handling, even though this memo defines its use only for delivery status reports.

email

design-rationale §2

Text/RFC822-Headers was defined specifically because returning the full 8-bit or binary original message over non-8-bit-capable return paths is problematic; returning only headers provides identification and diagnostic value without the encoding burden.

email

design-rationale §1

The third (optional) body part containing the returned message is intended to help human experts diagnose problems. The envelope-id and original-recipient-address in the machine-parsable body part are expected to replace the traditional use of returned content for message identification.

email

interoperability-note §2

The Text/RFC822-Headers body part returns only the RFC 822 headers and is not the complete message; it must not be returned as a Message/RFC822 type. The returned headers are useful for identifying the failed message and for diagnostics based on received lines.

email

normative-requirement §1 SHOULD

In the absence of an explicit request for level of return of content, the agent that generated the delivery service report should return the full message content.

email

normative-requirement §1 REQUIRED

The first body part (human-readable message) is required and may be in any MIME standards-track content-type, charset, or language; Multipart/Alternative may be used when descriptions in several languages or media are desired.

email

normative-requirement §1 REQUIRED

The second body part (machine-parsable) is required and must provide a machine-readable description of the condition(s) that caused the report, along with details not present in the first body part.

email

normative-requirement §2 SHOULD

The Text/RFC822-Headers body part should contain all the RFC 822 header lines from the message that caused the report, including all lines prior to the blank line, the MIME-Version, and MIME Content-Headers.

email

normative-requirement §1 MUST

User agents and gateways must be able to automatically determine that a message is a mail system report and should be processed as such.

email

normative-requirement §1 MAY

When 8-bit or binary data not encoded in 7-bit form is to be returned and the return path is not guaranteed to be 8-bit or binary capable, the original message MAY be re-encoded into a legal 7-bit MIME message, or the Text/RFC822-Headers content-type MAY be used to return only the original message headers.

email

normative-requirement §1 MUST

When used to send a report, the Multipart/Report content-type must be the top-level MIME content type for any report message, enabling auto-processors to detect it by parsing RFC 822 headers.

email

protocol-element §1

Multipart/Report is a MIME container type for electronic mail reports of any kind. Required parameters are 'boundary' and 'report-type'; the report-type parameter identifies the MIME content sub-type of the second body part. Encoding considerations indicate 7-bit should always be adequate.

email, registry

protocol-element §2

Text/RFC822-Headers is a MIME content type (type: Text, subtype: RFC822-Headers) that provides a mechanism to label and return only the RFC 822 headers of a failed message. No required or optional parameters are defined; 7-bit encoding is sufficient for normal RFC 822 headers.

email

protocol-element §1

The Multipart/Report body contains either two or three sub-parts in order: (1) required human-readable description, (2) required machine-parsable account of the reported event, and (3) optional returned message or portion thereof.

email

security-consideration §3

A signature covering the entire multipart/report structure could prevent report forgeries, but such a scheme is beyond the scope of this document.

email, security, crypto

security-consideration §3

Automated use of report types without authentication enables forgery of negative reports, creating opportunity for denial-of-service attacks when reports drive automated maintenance of directories or mailing lists. Forging positive reports may cause senders to incorrectly believe a message was delivered.

email, security