链接、网站与邮件
这封邮件是真的吗?
覆盖范围: 适用于任何国家、任何语言的邮件:它会读取你自己的服务商(Gmail、Outlook、Yahoo、iCloud 等)收信时在邮件头中记录的 SPF、DKIM 和 DMARC 检查结果,并按 NoCall 针对本站点的品牌规则检查发件人的名称和域名。
打开工具用途
粘贴可疑邮件的邮件头,检查你自己的邮箱服务商是否验证了发件人(SPF、DKIM 和 DMARC)、发件人名称是否冒充某个品牌,以及回复实际会发到哪里。
使用要求
任何人无需账户即可阅读这些指南。部分工具需要 Pro,各指南会注明。
邮件的“发件人”可以显示任何名字。但你的邮箱服务商在收信时所做的检查,就难伪造得多了。把邮件头粘贴到这里,我们会告诉你发件人是否真如其所称。内容不会被发送或保存。
使用步骤
Gmail:打开邮件,点按三个点图标,选择“显示原始邮件”。复制全部文字。
Outlook:打开邮件,依次点击三个点图标、“查看”和“查看邮件源”(View message source)或“邮件详细信息”(Message details)。
Apple Mail(邮件):打开邮件,依次选择“显示”、“邮件”和“原始来源”(Raw Source)。
Yahoo Mail:打开邮件,依次点击“更多”(More)和“查看原始邮件”(View raw message)。
检查发件人
虚构示例
此示例为虚构内容,并非真实查询。请勿拨打电话或打开其中的链接。
From: "Bank" <[email protected]>理解结果
不要相信这封邮件: 你的服务商无法确认发件人,或者这封邮件冒充了某个品牌。不要点击链接、不要下载附件,也不要回复。如果它自称来自某家公司,请自己输入网址进入其官网或应用。
仔细检查这封邮件: 发件人已通过验证,但有些细节值得你在回复或点击链接前检查一下。
发件人已通过验证: 你的邮箱服务商已确认这封邮件来自“发件人”中显示的域名。但这不能保证内容是真的:如果它向你索要信息或付款,仍要保持警惕。
限制
在你的浏览器中检查:邮件头不会被发送或保存,结果只显示域名,绝不显示完整地址。
故障排查
我们没有在文字中找到邮件头。请复制完整的原始邮件,而不只是正文。
邮件头中没有发件人(From)。请复制完整的原始邮件。
邮件头太长,无法检查(最多 64 KB)。
通过 API 使用
需要 API 密钥和额度。每次完成的调用消耗1个额度,即使没有数据也是如此。有效的 Pro 账户每个 UTC 自然月包含20个额度,由所有 API 路由共享并优先使用;当月未用完的额度不会结转。在账户页面购买的额度无需 Pro 即可使用,且永不过期。
错误从不计费:401 invalid_api_key(缺少密钥或密钥无效)、403 pro_required(既没有 Pro 额度,也没有购买的额度)、422 输入无效、429 quota_exceeded(额度已用完)、rate_limit_exceeded 或 ai_busy(sms-check 的 AI 已满负荷)、503 tool_warming(数据仍在准备中)或 tool 或服务提供方不可用。收到 429 或 503 后,请在 Retry-After 响应头中的秒数过后重试。
接收方服务商是否认证了这封邮件(取自最上方 Authentication-Results 的 SPF、DKIM 和 DMARC),以及发件人方面的迹象:显示名称中的品牌、免费邮箱或形近域名、回复发往其他域名。只返回域名;不保存任何内容。
将 JSON 请求体发送到该 tool 自己的路由,或发送到 POST /v2/tools 并添加 tool 字段。两个路由返回相同的结果。
POST https://api.nocall.io/v2/email-headers
POST https://api.nocall.io/v2/tools {"tool":"email-headers","headers":"Delivered-To: [email protected]\nReceived: from mail.bank.example (mail.bank.example [192.0.2.10]) by mx.google.com with ESMTPS id x1 for <[email protected]>; Tue, 27 Oct 2026 09:00:00 -0700\nAuthentication-Results: mx.google.com; dkim=pass [email protected] header.s=s1; spf=pass (google.com: domain of [email protected] designates 192.0.2.10 as permitted sender) [email protected]; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bank.example\nFrom: \"Bank Alerts\" <[email protected]>\nReply-To: [email protected]\nSubject: Your statement is ready\nMessage-ID: <[email protected]>","country":"ES"}参数
| 名称 | 类型 | 必填 | 说明 |
|---|---|---|---|
| headers | string (1–65536) | 是 | 邮件的原始邮件头(“显示原始邮件”),最多 64 KB;第一个空行之后的内容会被忽略。 |
| country | string (enum, 55) | 否 (默认: "ES") | 使用哪个国家的 SMS 规则集。 |
REQUEST_ID="$(uuidgen)" && [ -n "$REQUEST_ID" ] &&
curl --request POST 'https://api.nocall.io/v2/email-headers' \
--header "Authorization: Bearer $NOCALL_API_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"headers":"Delivered-To: [email protected]\nReceived: from mail.bank.example (mail.bank.example [192.0.2.10]) by mx.google.com with ESMTPS id x1 for <[email protected]>; Tue, 27 Oct 2026 09:00:00 -0700\nAuthentication-Results: mx.google.com; dkim=pass [email protected] header.s=s1; spf=pass (google.com: domain of [email protected] designates 192.0.2.10 as permitted sender) [email protected]; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bank.example\nFrom: \"Bank Alerts\" <[email protected]>\nReply-To: [email protected]\nSubject: Your statement is ready\nMessage-ID: <[email protected]>","country":"ES"}'import json
import os
import urllib.request
import uuid
api_key = os.environ.get('NOCALL_API_KEY')
if not api_key:
raise SystemExit('Set NOCALL_API_KEY')
request = urllib.request.Request(
'https://api.nocall.io/v2/email-headers',
method='POST',
data=json.dumps({'headers': 'Delivered-To: [email protected]\nReceived: from mail.bank.example (mail.bank.example [192.0.2.10]) by mx.google.com with ESMTPS id x1 for <[email protected]>; Tue, 27 Oct 2026 09:00:00 -0700\nAuthentication-Results: mx.google.com; dkim=pass [email protected] header.s=s1; spf=pass (google.com: domain of [email protected] designates 192.0.2.10 as permitted sender) [email protected]; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bank.example\nFrom: "Bank Alerts" <[email protected]>\nReply-To: [email protected]\nSubject: Your statement is ready\nMessage-ID: <[email protected]>', 'country': 'ES'}).encode(),
headers={
'Authorization': 'Bearer ' + api_key,
'Content-Type': 'application/json',
'Idempotency-Key': str(uuid.uuid4()),
},
)
with urllib.request.urlopen(request, timeout=30) as response:
result = json.load(response)
print(result['data']['result'], result['meta']['unitsCharged'])import { randomUUID } from 'node:crypto';
const requestId = randomUUID();
const apiKey = process.env.NOCALL_API_KEY;
if (!apiKey) throw new Error('Set NOCALL_API_KEY');
const response = await fetch('https://api.nocall.io/v2/email-headers', {
method: 'POST',
headers: {
Authorization: 'Bearer ' + apiKey,
'Content-Type': 'application/json',
'Idempotency-Key': requestId,
},
body: JSON.stringify({ headers: 'Delivered-To: [email protected]\nReceived: from mail.bank.example (mail.bank.example [192.0.2.10]) by mx.google.com with ESMTPS id x1 for <[email protected]>; Tue, 27 Oct 2026 09:00:00 -0700\nAuthentication-Results: mx.google.com; dkim=pass [email protected] header.s=s1; spf=pass (google.com: domain of [email protected] designates 192.0.2.10 as permitted sender) [email protected]; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bank.example\nFrom: "Bank Alerts" <[email protected]>\nReply-To: [email protected]\nSubject: Your statement is ready\nMessage-ID: <[email protected]>', country: 'ES' }),
});
const result = await response.json();
if (!response.ok) throw new Error(result.error?.code ?? 'request_failed');
console.log(result.data.result, result.meta.unitsCharged);响应示例(200)
这是 API 参考中的文档示例。查询使用虚构号码,汇总数据和 AI 回答展示的是结果结构,而非实时数据。
{
"data": {
"tool": "email-headers",
"result": {
"fromDomain": "bank.example",
"fromDomainAscii": "bank.example",
"displayName": "Bank Alerts",
"replyToDomain": "other.example",
"returnPathDomain": null,
"senderDomain": null,
"subject": "Your statement is ready",
"auth": {
"provider": "mx.google.com",
"source": "authentication_results",
"spf": "pass",
"spfDomain": "bank.example",
"dkim": "pass",
"dkimDomains": [
"bank.example"
],
"dmarc": "pass",
"dmarcDomain": "bank.example",
"compauth": null,
"aligned": true
},
"authenticated": true,
"brand": null,
"official": false,
"freeMail": false,
"signals": [
"reply_to_mismatch"
],
"attention": true
}
},
"meta": {
"requestId": "req_example",
"unitsCharged": 1,
"usage": {
"periodStart": "2026-10-01",
"unitLimit": 20,
"unitsUsed": 3,
"unitsRemaining": 17
}
}
}结果字段(data.result)
| 字段 | 类型 | 说明 |
|---|---|---|
| fromDomain | string | Unicode 形式的 From 域名;绝不返回完整地址。 |
| fromDomainAscii | string | 邮件系统看到的 From 域名(punycode)。 |
| displayName | string | null | 显示名称,其中的邮箱本地部分和 IP 地址会替换为 …,或 null。 |
| replyToDomain | string | null | 回复发往的域名,或 null。 |
| returnPathDomain | string | null | 投递通知发往的域名,或 null。 |
| senderDomain | string | null | Sender 字段的域名,或 null。 |
| subject | string | null | 解码后的主题,其中的本地部分和 IP 地址会替换为 …,或 null。 |
| auth | object | 服务商的结果:provider、source、spf、dkim 和 dmarc(pass、fail、softfail、neutral、none、temperror、permerror 或 policy)及其域名、compauth,以及它们是否与 From 域名对齐。 |
| authenticated | boolean | 服务商是否验证了邮件来自 From 域名(DMARC pass,或对齐的 DKIM pass)。 |
| brand | string | null | 显示名称或主题中提到的品牌,或 null。 |
| official | boolean | 主机是否为品牌或政府的官方域名。 |
| freeMail | boolean | From 域名是否为任何人都能注册的免费邮箱服务。 |
| signals | array<string (enum, 15)> | no_auth_results、dmarc_fail、dmarc_none、spf_fail、dkim_fail、dkim_unaligned、return_path_mismatch、reply_to_mismatch、display_name_brand、display_name_address、free_mail_brand、lookalike_domain、suspicious_domain、risky_tld 或 multiple_from。 |
| attention | boolean | 内容是否值得进一步查看。 |
常见问题
SPF、DKIM 和 DMARC 是什么?
它们是你的邮箱服务商收到邮件时进行的检查:SPF 检查发送服务器是否获得授权,DKIM 验证来自该域名的签名,DMARC 确认这一切与你在“发件人”中看到的域名一致。如果 DMARC 未通过,发件人就是假的。
发件人通过验证,邮件就安全吗?
不一定。通过验证说明邮件来自那个域名,但诈骗者可以使用自己注册的、看起来像某个品牌的域名,或被盗的账户。还要看清显示的域名,对任何索要信息或付款的请求保持警惕。
为什么只看发件人名称不够?
因为显示名称是发件人自己填写的,可以写成任何内容,甚至是你银行的名字,或加引号的假地址。真正重要的是经过验证的域名。
