TLS-RPT 报告解读:SMTP TLS 报告的 JSON 格式各字段含义
TLS-RPT(RFC 8460)报告以 JSON 格式提供关于 SMTP TLS 连接的失败详情。本文详解报告格式和主要字段含义。
一、报告 JSON 结构
{
"organization-name": "ExampleReceiver",
"date-range": {
"start-datetime": "2026-07-28T00:00:00Z",
"end-datetime": "2026-07-28T23:59:59Z"
},
"contact-info": "tls-report@example.com",
"report-id": "20260728-001",
"policies": [{
"policy": {
"policy-type": "mta-sts",
"policy-string": ["mode=enforce", "mx:*.mail.example.com"],
"policy-domain": "example.com"
},
"summary": {
"total-successful-session-count": 982,
"total-failure-session-count": 18
},
"failure-details": [{
"result-type": "certificate-expired",
"sending-mta-ip": "203.0.113.5",
"receiving-mx-hostname": "mx1.example.com",
"receiving-ip": "198.51.100.10",
"failed-session-count": 12,
"additional-information": "certificate expired 2026-07-15"
}]
}]
}
二、主要字段含义
organization-name:报告发送方(接收方 MTA 运营商)的名称date-range:报告覆盖的时间范围policy-type:触发报告的策略类型(mta-sts 或 tlsa / dane)total-successful-session-count:成功 TLS 会话数total-failure-session-count:失败 TLS 会话数result-type:失败类型(见 FAQ-04)sending-mta-ip:发送方的 MTA IP 地址receiving-mx-hostname:接收方 MX 主机名
参考文献
- RFC 8460 — TLS Reporting Specification
引用格式:ztpop.net. "TLS-RPT 报告解读." https://www.ztpop.net/kb/faq/mta-sts-tls-faq-03.html. 2026-07-29. CC-BY 4.0