SMTP, IMAP & Mail Delivery
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
Mail transfer and mail retrieval are separate wire conversations with different peers and addressing rules. Confusing them makes a delivery failure look like a client bug when the message never left the sending network.
On the wire
An MTA speaks SMTP on port 25 or submission on 587, exchanging greeting, MAIL FROM, RCPT TO, DATA, and DOT-terminated content with an MX host. A client reads stored mail over IMAP on port 143 or 993, using tagged commands and responses to select folders and fetch messages.
When it breaks
A missing MX record or a blocked port 25 leaves messages queued and eventually bouncing. A spoofed envelope sender passes through weak filters, and a TLS downgrade on submission exposes credentials to an on-path observer.
Handshake stepper
Send each message in order; drop one to see a timeout-driven retransmission.
Each message costs roughly one delay
Each step carries state the next one depends on, so ordering matters.