Skip to content

Blog · · The exx.sh team

How to read an SMTP transcript

Every delivery attempt on exx.sh keeps the conversation with the receiving server. Here is what each line means, and what we do with the reply.

“Delivered” is a claim. The SMTP transcript is the evidence. For every attempt, exx.sh keeps the full conversation between our mail server and the recipient’s: who answered, what it said, and how the connection was protected. Below is one we captured from our test environment, with the host names and addresses swapped for documentation values.

connect   192.0.2.25:25 (mx.example.com) from 198.51.100.7
← 220 mx.example.com ESMTP
→ EHLO mta-1.mail.exx.sh
← 250 mx.example.com PIPELINING 8BITMIME SMTPUTF8 ENHANCEDSTATUSCODES …
→ STARTTLS
← 220 2.0.0 ready to start TLS
tls       TLSv1.3 TLS13_AES_256_GCM_SHA384, certificate not verified
→ EHLO mta-1.mail.exx.sh
← 250 mx.example.com PIPELINING 8BITMIME SMTPUTF8 ENHANCEDSTATUSCODES …
→ MAIL FROM:<bounce+agqzqf3i…@bounces.acme.com> SIZE=1833
← 250 2.1.0 OK
→ RCPT TO:<ana@example.com>
← 250 2.1.5 OK
→ DATA
← 354 end data with <CR><LF>.<CR><LF>
→ .
← 250 2.0.0 queued as 35

Line by line

connect. Which MX host we reached, at which address, and from which of our IP addresses. When a domain has several MX hosts, this is the one that answered.

220 and EHLO. The server greets us, we introduce ourselves, and it lists what it supports. STARTTLS in that list means it can encrypt the rest of the session.

STARTTLS and tls. The connection switches to TLS. The tls line records the version, the cipher, and whether the certificate was verified. Here it was not: the domain publishes no policy that asks for verification, so the session is encrypted but the server’s identity is unchecked. A domain with MTA-STS or DANE gets a verified connection, or none at all.

MAIL FROM. The return path. It is not your From address: it is a per-message address on your domain’s bounce subdomain, which points at our inbound servers. A bounce that arrives three days later is matched to this exact email.

RCPT TO and DATA. One recipient, then the message itself. A server can refuse a single recipient here and still accept the others.

250 2.0.0 queued as 35. The receiving server has taken responsibility for the message and given it its own ID. This is what exx.sh calls delivered. What its spam filter does next is up to the provider, which is why we never promise the inbox.

Reading the codes

Every reply starts with three digits. The first one carries the meaning:

First digit Meaning What we do
2 Done Move on, or mark the recipient delivered
3 Go on Send the next part (only after DATA)
4 Not now Retry later, on a schedule
5 No Stop for this recipient

Most servers add an enhanced status code (RFC 3463), like 2.1.5 above: class, subject and detail. That second code is where the useful reason lives, and it decides how we file the reply:

  • 5.1.1 (no such mailbox) is a hard bounce. The address goes on your suppression list so you never mail it again by mistake.
  • 5.2.2 (mailbox full) is a soft bounce. The address is real, so it is not suppressed.
  • 5.7.x is a policy block: the server refused the message, not the address. Those count against the IP’s reputation, not against your list.
  • 4.7.x means “slow down”. We treat it as a reputation signal and send to that provider more gently.

A temporary failure is retried after 1 minute, then 5, 15, 30 minutes, then 1, 2, 4 and 8 hours, and every 8 hours after that for up to 72 hours. Each retry is its own attempt with its own transcript, so you can watch a greylisting server change its mind.

Where to find it

Open an email in the dashboard and pick an attempt. Through the API, GET /emails/{id}/attempts lists every attempt with a summary, and GET /emails/{id}/attempts/{attempt_id}/transcript returns the full conversation. A transcript never contains the message itself: only the commands, the replies and the connection details.