Visual RFC.
ALL RFCs / RFC 1870
Read the RFC ↗
RFC 1870 / SMTP MESSAGE SIZE

Discover the server’s size policy

01

SMTP is the protocol mail systems use to transfer messages. EHLO asks which extensions the server supports; SIZE can also advertise a fixed byte limit.

RFC 1870 · § 3EXAMPLE
4 / 4
Discover the server’s size policyFour separate EHLO outcomes: SIZE 1000000 advertises a chosen fixed limit, SIZE 0 means no fixed maximum but finite resources, bare SIZE omits fixed-limit information and requires resource checking before positive declared-size acceptance, and no SIZE advertisement means this extension is unavailable. Successful EHLO replies in these examples are schematic; other capabilities are omitted.Ask what this server supportsSMTP clientSMTP serverEHLO client.example250 HELPNo SIZE in the EHLO replysend MAIL with SIZEUse ordinary SMTP without SIZEOrdinary transfer failures remain possible
04
Do not assume support.

A successful EHLO reply without SIZE does not advertise this extension. Use ordinary SMTP without a SIZE parameter; ordinary errors remain possible.

Source for this drawing: RFC 1870 · 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

Support, a fixed limit, and available storage are different facts.

  • SIZE with a positive decimal value advertises a fixed maximum; SIZE 0 means no fixed maximum is in force.
  • Bare SIZE advertises support but conveys no fixed-maximum information. Without SIZE support, do not use its extended MAIL parameter.
  • For bare SIZE, a server may not positively accept a declared size before checking transfer and stable-storage resources; if possible it should reserve storage.
DETAILS

Zero does not promise unlimited storage. A minimal finite-limit server need not detect temporary limits early.

Read the RFC section ↗

All chapters in RFC 1870

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 ↗