Guide · SMTP and headers

Message-ID vs. SMTP queue ID: what to send support

When a message goes missing, start with the Message-ID if support needs to trace it across more than one mail system. Use the SMTP queue ID when you want the operator of one specific server to find a queue entry or a local log event. If you have both, send both with their labels, the host, and a narrow time window in UTC. Neither identifier tells you on its own whether the message arrived.

Reading time
6 min

The difference matters most at a handoff. Your sending relay, a forwarding service and the recipient's mail system can each give the message a different queue ID while delivering a copy with the same Message-ID. A queue ID sent to the wrong operator can find nothing, even when the message passed through both systems.

What the Message-ID identifies

Message-ID is a field of the message itself. In the original header you might see this fictional example:

Message-ID: <receipt-20261127-0427@example.org>

Keep the full identifier, including the part after the at sign. Copying the field as displayed, with its angle brackets, avoids dropping a character. If a trace tool expects another format, follow its instructions; Microsoft's Exchange Online message trace, for example, asks for the full string including the angle brackets.

RFC 5322 (section 3.6.4) says every message should have a Message-ID field, and defines it as a unique identifier for a particular version of a particular message. The host that generates it guarantees its uniqueness. That describes correctly generated identifiers; it does not mean every real message has a usable one. Microsoft notes that not all email systems strictly follow the uniqueness rule, and that Exchange Online assigns an arbitrary value when an incoming message has no Message-ID or a blank one.

Adding trace or resent fields on the way does not change a message's identity, so its Message-ID stays the same. A new revision of a message gets a new identifier. If a help desk writes a fresh message rather than relaying the original, find the ID of the item you are actually investigating. A reply's own ID, an ID in its References or In-Reply-To field, and the ID of an attached original are different search inputs.

What an SMTP queue ID identifies

A queue ID is a mail system's name for an item in its own queue or logs. It lets the operator connect local events such as accepting the item, scheduling a retry or handing it on. It is not a header that travels with the message, and its format and lifetime depend on the product.

Postfix's postqueue manual says a queue ID may be reused within a Postfix instance unless enable_long_queue_ids is on and time is monotonic, and that even then it is not expected to be unique across different Postfix instances. Management tools that need a unique name should combine it with the instance's host name (its myhostname setting). For a support case, give the host and the event time too, which also helps when several relay nodes log into one system or when the event is old.

A synthetic trace might look like this:

09:14:02 UTC | relay-a.example.org | local queue ID 5B2E1425A1 | accepted locally
09:14:04 UTC | inbound.example.net | local queue ID 8CF061509B | accepted at next hop

Suppose both records belong to <receipt-20261127-0427@example.org>. Keep the three values apart. The first queue ID belongs with the team running relay-a and its timestamp, the second with the inbound operator. Start with the shared Message-ID when a support team needs to find the message in its own trace, then use the local ID to look into the specific event.

Where Exchange fits

Microsoft documents two separate properties of queued messages in Exchange Server. InternetMessageId holds the value of the Message-ID header field, constant for the life of the message. Identity has the form server\queue\message integer. A value such as MAIL01\example.net\7342 would be a local Exchange identity, not the equivalent of <receipt-20261127-0427@example.org>. If you are reading Queue Viewer, report the field name next to the value rather than just writing "message ID".

Exchange Online's message trace is a separate tool. It shows whether the service received, rejected, deferred or delivered a message, and the actions taken on it, for up to 90 days back (searches over more than 10 days come as a downloadable report). If the trace and the mailbox seem to tell different stories, check the event details and the trace's time range. A delivery event shows what happened inside the service it describes. It does not show that someone saw the message or that it reached the expected folder.

Which identifier should you send?

If you received a delivery status notification, keep the affected recipient's part and its status code in the private case instead of assuming the queue ID explains the bounce. Bounce processing and DSNs explains how to read those per-recipient details.

A support-ready example

Can you trace Message-ID <receipt-20261127-0427@example.org> around 2026-11-27 09:14 UTC?
Our relay-a.example.org logged local queue ID 5B2E1425A1 and accepted the item at 09:14:02 UTC.
We have no confirmed disposition from the receiving side. What event does your system show?

The values are fictional. Do not post a real message's headers, IDs, mailbox addresses, internal host names or authentication tokens in a public issue: redact an example for public discussion. Keep the exact value for the authorized support team in a private channel, because an edited value may not match.

The useful evidence is the recorded disposition at the hop you care about. The Message-ID gets you to the message, the queue ID to the local event, and the event tells you what happened.

Questions

Is the Message-ID unique?

It is meant to be: RFC 5322 makes the generating host responsible for that. In practice some systems get it wrong, so pair it with a time window.

Why does support find nothing for my queue ID?

A queue ID only exists on the server that assigned it. The next hop gave the message its own. Send the Message-ID to anyone outside that server.

Does a delivered event mean the person saw the message?

No. It records what one service did with the message, not whether anyone opened it or which folder it reached.

Try it

Look up a bounce's status code in the bounce code dictionary, or check an address with the free email checker.

Sources

How we wrote this: drafted by the email-validation.org team with the help of AI writing tools, from our product documentation and the sources linked in the text.

Get up to 500 free credits. No card needed.

New accounts get 500 free credits (100 when you sign up with a free email provider such as Gmail, Outlook or Yahoo, another personal mailbox such as a paid one like Fastmail or one from your internet provider, or an address from a relay or alias service). Try it on your own list before you buy.

Updated · Maintained by: Email Validation LLC