Visual RFC.
ALL RFCs / RFC 6152
Read the RFC ↗
RFC 6152 / SMTP 8-BIT MIME TRANSPORT

Relay through a server without 8BITMIME

04

A relay that accepted an 8-bit body still has to preserve its information on the next hop. A different server may not advertise the same capability.

RFC 6152 · § 3EXAMPLE
4 / 4
Relay through a server without 8BITMIMEFour alternatives at an already accepting relay: a separate next-hop EHLO reply lacks8BITMIME; raw high-bit forwarding must stop; one chosen valid7bitMIME gateway uses Base64 for the café CRLF bytes, adjusts the MIME transfer encoding and sends ordinary MAIL without BODY; or the client treats the barrier as a permanent delivery error. The Base64 example preserves decoded bytes. The RFC permits the choice and requires losslessness/valid7bitMIME, but does not specify a general transformation algorithm.An accepting relay must preserve the informationAccepted relayNext servercannot / do not convertAlternative: permanent delivery errorDo not send a corrupted substituteNo specific reply code is invented here
04
Or handle a permanent failure.

If the client does not perform a valid lossless conversion, it may treat the 8-bit barrier as a permanent delivery error. No specific SMTP error code for this choice is invented.

Source for this drawing: RFC 6152 · Read RFC section 3 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

Convert without information loss or handle a permanent delivery failure.

  • If EHLO fails or the successful reply omits 8BITMIME, the client must not transfer content octets outside 00–7F on that connection.
  • The client may perform a gateway transformation into valid 7-bit MIME with no information loss, using MIME transport encodings as needed, or treat the barrier as a permanent delivery error.
  • RFC 6152 does not specify the conversion algorithm. Clearing high bits is not a valid downgrade. An unextended connection uses ordinary MAIL without this extension’s BODY parameter.
DETAILS

One tiny single-part UTF-8 message is converted to Base 64 with its MIME Content-Transfer-Encoding changed accordingly. That is one illustrative lossless gateway choice; arbitrary multipart/header/security transformations are not implemented by this guide.

Read the RFC section ↗

All chapters in RFC 6152

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗