郵件頭分析器
粘貼原始郵件頭,即時查看 SPF、DKIM、DMARC 結果、完整投遞路徑、垃圾郵件評分與關鍵元資料——全部解析並加以說明。
粘貼你的郵件頭
What Are Email Headers and What Do They Contain?
Every email message contains two parts: the visible body (the text, images, and HTML you read) and the technical headers that live above the body. Headers record the full routing history of the message, authentication results, spam scores, and metadata like the sender, recipient, subject, and timestamps. Most email clients hide headers from normal view, but they are always present and can be revealed through your mail client's "show original" or "view headers" option.
Analyzing email headers is one of the most reliable ways to diagnose delivery problems, investigate suspected phishing messages, and verify that your authentication setup (SPF, DKIM, DMARC) is working correctly for a real message.
How to Find Email Headers in Different Mail Clients
- Gmail:Open the message, click the three-dot menu (⋮) in the top-right corner, and select "Show original". Copy all content from the popup.
- Outlook (web):Open the message, click the three-dot menu, then View → View message source.
- Apple Mail:Open the message, then View → Message → All Headers, or press Shift + Command + H.
- Thunderbird:Open the message, then View → Headers → All.
- Yahoo Mail:Open the message, click More → View Raw Message.
Copy everything from the first header line (usually Delivered-To: or Return-Path:) down to the blank line before the email body.
Key Headers to Look For
The most important headers for diagnosing delivery issues are:
- Authentication-Results: Shows SPF, DKIM, and DMARC pass/fail results as evaluated by the receiving server. This is the most important header for diagnosing authentication failures.
- Received: One entry per hop in the delivery path. Reading from bottom to top gives chronological order. Each entry usually includes the server hostname, IP address, and timestamp.
- X-Spam-Score / X-Spam-Status: Added by spam filters like SpamAssassin. Shows the numeric score and which rules were triggered.
- DKIM-Signature: The actual DKIM signature attached by the sending server. Contains the selector, domain, and cryptographic signature.
- Return-Path: The envelope sender — the address used for bounce notifications, checked by SPF.
- Message-ID: A unique identifier for the message, useful for tracking it through log files.
What Authentication Results Mean for Deliverability
A message showing spf=pass dkim=pass dmarc=pass in the Authentication-Results header has the best chance of inbox placement. Any failure here should be investigated. An SPF failure often means the sending IP is not listed in your SPF record. A DKIM failure may mean the signature is missing, expired, or the public key in DNS does not match the private key used for signing. A DMARC failure means neither SPF nor DKIM aligned with the From domain.
Header analysis tells you what happened with a specific message. To prevent problems before sending, use email verification on your list and verify your authentication configuration with our SPF, DKIM, and DMARC generator tools. For large lists, bulk verification and the validation API let you integrate checks into your workflow.
常見問題
1. 我的郵件頭會發送到你們的伺服器嗎?
不會。本工具完全在你的瀏覽器中用 JavaScript 運行。你粘貼的郵件頭僅在本地分析,絕不會傳輸到任何伺服器。你的郵件內容與元資料全程保持私密。
2. 如何在 Gmail 中查看郵件頭?
在 Gmail 中打開郵件,點選消息右上角的三點菜單,選擇「顯示原始郵件」,下一頁頂部會顯示原始郵件頭。點選「複製到剪貼板」,或手動選中並複製郵件頭內容。
3. SPF 失敗但 DKIM 通過意味著什麼?
SPF 檢查發件伺服器的 IP 地址。失敗表示該 IP 不在發件域的 SPF 記錄中——可能是郵件被轉發,或通過未列入 SPF 的中繼發送。DKIM 通過是好信號;若 DKIM 與 From 域對齊,單靠 DKIM 也可滿足 DMARC。若 SPF 持續失敗,請檢查郵件是否被轉發。
4. 為什麼一封郵件會經過多臺伺服器?
Received 鏈路中常出現多個跳點,是因為郵件會經過多臺伺服器:發件方的出站 SMTP 伺服器、可能的中繼伺服器、收件方的入站伺服器,有時還有內部過濾伺服器。每一跳都會添加一條 Received 頭,這屬於正常現象。若鏈路中間出現異常的外部中繼,則可能表示轉發或路由問題。
5. 什麼是 Message-ID,為什麼重要?
Message-ID 是發件郵件伺服器在創建郵件時分配的唯一標識符。它幫助郵件系統追蹤會話線程、檢測重複,並關聯投遞日誌。若需在伺服器日誌中追蹤某條具體消息,Message-ID 是最關鍵的檢索標識。
6. 郵件顯示 DMARC 失敗——如何修復?
DMARC 失敗表示 SPF 與 DKIM 都沒有產生對齊通過。請查看 Authentication-Results 頭,確認哪些檢查失敗。對 SPF,可用 SPF 檢查工具確認發送 IP 是否在 SPF 記錄中。對 DKIM,可用 DKIM 檢查工具確認 DKIM 記錄是否正確發佈。常見修復方式是把發送服務加入 SPF 記錄,或在郵件服務商處啟用 DKIM 簽名。
探索更多功能
探索 BillionVerify 的所有強大功能