← Computer Networksภาษาไทย

APPLICATION LAYER · STORE AND FORWARD

Travel with one email from Compose to Inbox.

Email is a federation of protocols, queues and trust signals—not one send operation. Explore submission, SMTP relay, DNS MX, MIME, delivery authentication and mailbox retrieval as connected sub-labs.

FIVE CONNECTED SUB-LABS

Change viewpoint without losing the same message

The simulator never sends real email. Addresses use reserved example domains.

Mail User Agentcompose + submitalice
Submission serverSMTP AUTH · 587example.test
DNS MXfind receiverexample.net MX?
Receiving MTASMTP · 25mail.example.net
Mailboxstore + IMAPbob/INBOX
READY · Compose a message and start delivery.
IDLENo envelope has been submitted.

STORE, FORWARD, RETRY

A temporary failure is not a permanent rejection

2xx

Requested mail action accepted. Responsibility may have transferred to the next server.

4xx

Temporary failure. Keep the message in a queue and retry with backoff.

5xx

Permanent failure for this attempt; normally generate a delivery status notification.

CLASSROOM TASKS

Evidence across protocol boundaries

  1. Trace which component uses DNS and why it asks for MX rather than A first.
  2. Compare SMTP envelope addresses with message From/To headers.
  3. Measure Base64 overhead for several attachment sizes.
  4. Inject 451 and design a retry schedule that avoids overload.
  5. Find a case where SPF fails but aligned DKIM lets DMARC pass.
  6. Explain why end-to-end encryption is different from SMTP TLS.