Visual RFC.
ALL RFCs / RFC 5321
Read the RFC ↗
RFC 5321 / DELIVERY AND FAILURES

Queues, retries & timeouts

08

A sender keeps undelivered mail with its envelope, delays retries, and uses stage-specific timeouts.

RFC 5321 · § 4.5.4.1EXAMPLE
4 / 4
04
Try again within policy.

Delivery resumes or eventually reaches the configured give-up policy.

Queues, retries & timeoutsAn initial failed attempt leads to durable queue storage, a delayed retry schedule, and another delivery attempt instead of a tight retry loop.A queue bridges an outageIllustrative retry schedule, not fixed policySenderDestinationtemporarily unavailableDurable delivery queueenvelope + contentfailurewait ≥ 30 minretryretryAttempt delivery again without a tight loop

Key idea: Persist first; retry with restraint.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Mail that cannot be transmitted immediately must be queued and retried periodically.
  • After failure, delay retrying that destination; the general recommendation is at least 30 minutes, with more adaptive strategies possible.
  • Give-up time generally needs to be at least 4–5 days; retry parameters must be configurable.

§4.5.3 specifies line sizes, minimum supported capacities, and command-specific timeouts. Message content support must be at least 64K octets; that is a minimum capability, not a universal maximum message size.

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

The envelope and the letter do different jobs.

Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.

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.

All chapters in RFC 5321

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 ↗