Example
How to read it
- Useful to see which plus address or alias a sender used.
Can you trust it?
Added by the receiving server. To check an email you are unsure about, paste its full headers into the email header analyzer, or receive it in a temporary inbox where the Email X-ray checks it for you.
How to view email headers
- Gmail: open the message, click the three dots, then Show original.
- Outlook: open the message, then File, Properties, Internet headers (desktop), or the three dots, View, View message details (web).
- Apple Mail: View, Message, All Headers.
- Yahoo Mail: the three dots, then View raw message.
Where X-Original-To sits in a real message
Every email has a header block at the top, then a blank line, then the body. Your mail app hides most of the header block and shows only a few fields. Here is a short, realistic header block with the X-Original-To line highlighted:
Received: from mail.example.com (mail.example.com [192.0.2.10]) by mx.yourprovider.com
Authentication-Results: mx.yourprovider.com; spf=pass; dkim=pass; dmarc=pass
From: "Example Store" <news@example.com>
X-Original-To: jane+shop@example.com
Subject: Your order has shipped
Date: Thu, 12 Nov 2026 09:14:03 -0500
Servers add their lines at the top as the message travels, so the newest information is first and the sender's original fields are lower down. When you read a header block, start at the top with the lines your own provider added, then work down.
About routing headers
Routing headers are added by each server that handles the message on its way. They are the closest thing email has to a postmark. The lines added by your own provider are trustworthy, because they were written by a server you rely on. Lines further down were written by servers you have never heard of and can be invented by the sender.
Checking X-Original-To on a suspicious email
- Treat it as a helpful hint, not as proof. It is usually set by software along the way and is rarely checked.
- Use it together with Received and Authentication-Results to build a picture of where the message came from.
- Values that do not fit the claimed sender, such as a cheap bulk-mail tool on a message from a large bank, are worth a closer look.
Notes for developers
- Header names are case-insensitive, so
X-Original-To,x-original-toandX-ORIGINAL-TOare the same field. - Long values can be folded across several lines. A line that starts with a space or tab continues the previous header (RFC 5322 section 2.2.3).
- Non-ASCII text in header values is sent as encoded words such as
=?UTF-8?B?...?=(RFC 2047). Decode them before you display or compare values. - Some fields may appear more than once. Received, for example, appears once per hop. Decide whether your code needs the first, the last or all of them.
- Never use this header to make a security decision unless your own server added or verified it.
Other routing headers
| Header | What it does |
|---|---|
| Received | Each mail server that handles the message adds a Received header at the top, recording where it came from, where it went and when. |
| Return-Path | The envelope sender address (MAIL FROM) recorded by the final server. |
| Delivered-To | Records the mailbox the message was finally delivered to, after aliases and forwarding. |
| X-Forwarded-To | Shows the address the message was forwarded to by a forwarding service. |
| X-Originating-IP | Some providers record the IP address of the device that submitted the message. |
A scenario: tracing a slow delivery
A password reset took 40 minutes to arrive. Reading the Received headers from the top, the last hop into your provider happened right away, but two hops below there is a 38-minute gap between the sender's outbound server and its relay. The delay was inside the sender's own system, so contacting the receiving provider would not have helped.
Quick checklist
- Read Received lines from the top down.
- Compare timestamps between hops to find delays.
- Trust only the lines added by servers you know.
X-Original-To in raw, parsed and displayed form
| View | What you see |
|---|---|
| Raw source | X-Original-To: jane+shop@example.com |
| Parsed by a mail library | A field named x-original-to with its decoded value |
| Shown by most mail apps | Hidden unless you open the full source |
Related guides
Related headers
- Delivered-To: Records the mailbox the message was finally delivered to, after aliases and forwarding.
- X-Forwarded-To: Shows the address the message was forwarded to by a forwarding service.
FAQ
What is the X-Original-To header?
The recipient address as it was before alias expansion or forwarding, added by Postfix and some other servers.
Who sets the X-Original-To header?
The receiving server.
Can the X-Original-To header be faked?
Added by the receiving server.
Is the X-Original-To header required?
No. X-Original-To is optional. Many messages do not include it, and its absence is not a problem on its own.
Why is X-Original-To missing from my email?
Mail apps hide most headers. Open the full source (Show original in Gmail, View message details in Outlook) to see every header. If X-Original-To is still not there, the sending software simply did not add it.
Can Received headers reveal my IP address?
Some apps and servers include the sending device's IP. Large webmail providers usually do not.
How many Received headers are normal?
Usually between three and eight, depending on how many servers handled the message.