New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 26 Oct 2026

Reading Received Headers: Tracing the Path of an Email Hop by Hop and Spotting Delays

How to read Received headers from bottom to top, what each field means, how to compute delays between hops, identify forged lines, handle internal relays and use the path to diagnose slow or suspicious mail.

LF
Written by Lena Fischer
European Deliverability and Privacy Liaison
Reviewed by Valentina Reyes
  • Published23 Mar 2025
  • Read time6 min
  • Length1,312 words
Share this guide

Every server that handles an email adds a Received header at the top of the message. Together these lines form a travel log: where the message entered the mail system, which servers relayed it, when each step happened and how it was transported. When a message arrives hours late, when a colleague wonders whether a note really came from where it claims, or when you must find out whether your own gateway or the recipient provider introduced a delay, the Received headers are the primary evidence. They are also the part of a message most often misread, because they are written in reverse order, use inconsistent wording and can be forged below the first trusted hop. This guide explains how to read them, how to measure delay, how to judge trust and how to apply the results. It complements reading email headers, Authentication-Results and tracing messages.

OrderNewest at the top, oldest at the bottom; read from the bottom up
Fieldsfrom (claimed sender), by (receiver), with (protocol), id, for, and a timestamp after the semicolon
TrustOnly lines added by servers you trust are reliable; lines below can be forged
DelaySubtract timestamps of consecutive lines to find the slow hop

Anatomy of one line

Received: from mail-out.example.net (mail-out.example.net [203.0.113.25])
        by mx.receiver.example (Postfix) with ESMTPS id 4F1A2C0B7E
        for <[email protected]>; Sun, 23 Mar 2025 10:02:14 +0000 (UTC)
PartMeaningNotes
fromThe name the sending side gave in HELO or EHLO, followed in parentheses by the reverse DNS name and IP address as seen by the receiverThe HELO name is claimed by the sender; the bracketed IP is recorded by the receiver and is more trustworthy
byThe server that received the message and wrote this headerThis is the server whose line you can trust, if you trust the server
withThe protocol: SMTP, ESMTP, ESMTPS (with TLS), ESMTPA (authenticated), ESMTPSA (both), LMTP, HTTP or localESMTPS shows that TLS was used on that hop
idThe queue or message ID on the receiving serverUse it to find the matching line in that server's log. See mail logs
forThe recipient the server was delivering to; optionalOften omitted for privacy or when several recipients exist
TimestampDate and time after the semicolon, with a zoneServers have their own clocks; small differences are normal

Reading order

Because each server inserts its line above the previous ones, the bottom Received header is the first hop and the top one is the last. Read upward:

Received: by mailbox.receiver.example with LMTP id aB12; Sun, 23 Mar 2025 10:02:16 +0000          <- 4 (delivery)
Received: from mx.receiver.example (mx.receiver.example [198.51.100.9])
        by mailbox.receiver.example with ESMTPS; Sun, 23 Mar 2025 10:02:15 +0000                     <- 3
Received: from mail-out.example.net (mail-out.example.net [203.0.113.25])
        by mx.receiver.example (Postfix) with ESMTPS id 4F1A2C0B7E; Sun, 23 Mar 2025 10:02:14 +0000 <- 2
Received: from app1.example.net (app1.example.net [10.0.0.12])
        by mail-out.example.net with ESMTPSA id 77c1; Sun, 23 Mar 2025 10:02:12 +0000                <- 1 (submission)

The story: an application at 10.0.0.12 authenticated and submitted the message to the sender's outbound server at 10:02:12; that server handed it to the recipient's MX at 10:02:14; the MX passed it to the mailbox store at 10:02:15, and delivery completed at 10:02:16. Total transit: four seconds.

Measuring delay

  1. List the timestamps from bottom to top and convert them to UTC if the zones differ.
  2. Subtract each timestamp from the one above it. The result is the time the message spent between those two events, usually waiting in the queue of the lower server.
  3. Look for the largest gap. A gap between hop 1 and hop 2 means the sender's outbound server delayed the message; between hop 2 and hop 3 points to the receiving MX or its filters; later gaps suggest internal processing.
  4. Check clock skew. If a later hop shows an earlier time than the previous one, one of the clocks is off; compare with the Date header and the logs before blaming a hop.
  5. Match large gaps against explanations: greylisting (minutes), rate limiting, retry after a temporary failure (see retry schedules), antivirus or sandbox inspection, or a queue backlog.
  6. Ask the owner of the slow hop to look up the queue ID in the id field.
GapCommon explanation
Under 5 secondsNormal transit
5 to 30 secondsContent scanning, sandboxing, busy queue
1 to 15 minutesGreylisting or first retry after a temporary error
HoursProlonged deferral, rate limiting or an outage at the receiving side. See the mail queue
DaysLong outage, a quarantine release or a held message

Trust and forgery

Anyone who controls a sending program can add fake Received lines at the bottom before the message enters the network. Spammers do this to make a message look like it came from a reputable place. The rule is simple: trust a Received line only if the server that wrote it is one you trust. In practice:

  • Start from your own receiving server's line (the top one) and look at the from part. That IP is what your server actually saw, so it is reliable.
  • The next line down was written by the previous server. Trust it only if you trust that server (for example your gateway or a well-known provider).
  • Anything beyond the last trusted hop is claimed information. Check it for consistency: dates that go backwards, IP addresses in reserved ranges, host names that do not match their IPs and implausible protocols are signs of forgery.
  • Compare the IP in the first untrusted hop with the SPF result and the sending domain. See authentication results where relevant.
  • Use the Authentication-Results header written by your own server for the verdicts, rather than trying to infer them from Received lines.

Special cases

CaseWhat you seeHow to read it
Web interfaces and APIswith HTTP or HTTPS, a client IP in bracketsMessage submitted through a web page or API, not SMTP. See the email API
Internal relays and gatewaysPrivate IP ranges (10.x, 172.16-31.x, 192.168.x)Internal hops; their addresses are not reachable from outside
Large providersMany internal hops with their own naming and X-Received linesCount total time at the provider; internal hops are usually quick
ForwardingA new first hop appears when the forwarder re-sends the messageSPF is evaluated against the forwarder IP. See forwarding
Mailing listsHops through the list server before final deliveryThe list may modify the message and add its own headers. See List-Id
IPv6Addresses like [2001:db8::25]Same logic, longer addresses
Missing Received linesFewer hops than expectedSome systems strip or hide internal hops for privacy

Why the totals can mislead

A long total transit time does not always mean a problem. Messages to groups are expanded by list servers, messages with large attachments take longer to scan, and a recipient who uses a forwarding rule adds hops of their own. Equally, a short total can hide a delay that happened before the first Received line, for example while the sender's application queued the message internally or the user left the draft unsent in an outbox. Compare the Date header, which the sending client sets, with the first Received timestamp: a large gap there means the delay occurred on the sender's device or application, not in the mail network.

A short workflow

  1. Get the full source of the message from the recipient mailbox ("show original" or "view source").
  2. Number the Received lines from the bottom.
  3. Identify the first hop you can trust and write down its IP and time.
  4. Compute the gaps and find the largest.
  5. Find the queue ID of the slow hop and look it up in that server's log, or ask its operator.
  6. Check authentication results and the envelope sender. See envelope From.
  7. Write the conclusion in one sentence: which hop, how long, probable cause.

Received headers turn "where did my email go?" into a measurable question. Read them from the bottom, trust only what you can verify, measure the gaps and let the queue IDs lead you to the logs that explain them.

Check the sending domain Verify authentication for the domain in a suspicious message.

Open the checker

References and further reading

Frequently asked questions

In which order should I read Received headers?

From the bottom up, because each server adds its line on top of the earlier ones.

How do I find where an email was delayed?

Subtract the timestamps of consecutive Received lines and look for the largest gap, then check the log of the slower server.

Can Received headers be forged?

Yes, lines below the last server you trust can be invented; only lines added by trusted servers are reliable.

What does ESMTPS mean in a Received line?

The hop used extended SMTP with TLS encryption.

What is the id field for?

It is the queue ID on that server, which you can search for in its mail log.

Topics#headers#received#tracing#delays#routing
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales