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"
    }]
  }]
}

二、主要字段含义

参考文献

  1. 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