{"id":2304,"date":"2025-10-09T18:15:29","date_gmt":"2025-10-09T10:15:29","guid":{"rendered":"https:\/\/www.mailabc.cn\/blog\/?p=2304"},"modified":"2025-10-09T13:42:19","modified_gmt":"2025-10-09T05:42:19","slug":"%e9%82%ae%e4%bb%b6%e5%ae%89%e5%85%a8%e6%8a%80%e6%9c%af%ef%bc%9atls-rpt","status":"publish","type":"post","link":"https:\/\/www.mailabc.cn\/blog\/2025\/10\/09\/%e9%82%ae%e4%bb%b6%e5%ae%89%e5%85%a8%e6%8a%80%e6%9c%af%ef%bc%9atls-rpt\/","title":{"rendered":"\u90ae\u4ef6\u5b89\u5168\u6280\u672f\uff1aTLS-RPT"},"content":{"rendered":"<section>\n<section>\n<section>TLS-RPT\uff08TLS Reporting\uff09\u662f\u57fa\u4e8e\u00a0<strong>RFC 8460<\/strong>\u00a0\u6807\u51c6\u7684\u5b89\u5168\u673a\u5236\uff0c\u6838\u5fc3\u4f5c\u7528\u662f<strong>\u8ba9\u90ae\u4ef6\u670d\u52a1\u5668\u5c06 TLS \u8fde\u63a5\u5931\u8d25\u3001\u8bc1\u4e66\u9519\u8bef\u7b49\u95ee\u9898\u4ee5\u7ed3\u6784\u5316\u62a5\u544a\u7684\u5f62\u5f0f\u53d1\u9001\u7ed9\u57df\u540d\u6240\u6709\u8005<\/strong>\uff0c\u5e2e\u52a9\u76d1\u63a7\u548c\u4fee\u590d TLS \u914d\u7f6e\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u8bbe\u7f6e\u65b9\u6cd5\u548c\u62a5\u544a\u793a\u4f8b\u3002<\/p>\n<p>TLS-RPT\u901a\u5e38\u642d\u914dMTA-STS\u4f7f\u7528\uff0c\u5173\u4e8eMTA-STS\u53ef\u4ee5\u53c2\u8003\u6587\u672b\u63a8\u8350\u6587\u7ae0\u3002<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h2><strong>\u5982\u4f55\u8bbe\u7f6e TLS-RPT<\/strong><\/h2>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u8bbe\u7f6e\u6d41\u7a0b\u5206\u4e3a\u00a03 \u6b65\uff1a\u51c6\u5907\u63a5\u6536\u7aef\u70b9 \u2192 \u914d\u7f6e DNS TXT \u8bb0\u5f55 \u2192 \u9a8c\u8bc1\u914d\u7f6e\uff0c\u5177\u4f53\u5982\u4e0b\uff1a<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h3><strong>\u51c6\u5907\u62a5\u544a\u63a5\u6536\u7aef\u70b9<\/strong><\/h3>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u9996\u5148\u9700\u8981\u4e00\u4e2a\u00a0HTTPS \u670d\u52a1\u7aef\u70b9\uff08\u8be5\u7ad9\u70b9\u9700\u8981\u63d0\u4f9bHTTPS\u8bbf\u95ee\uff0c\u5e76\u4e14\u9700\u8981\u53ef\u4ee5\u901a\u8fc7POST\u65b9\u5f0f\u63d0\u4ea4\u6570\u636e\uff0c\u5177\u4f53\u53ef\u4ee5\u53c2\u8003RFC 8460\u7684\u8981\u6c42\uff09\u6216\u8005\u90ae\u7bb1\uff0c\u7528\u4e8e\u63a5\u6536\u62a5\u544a\u53d1\u9001\u65b9\u53d1\u9001\u7684 JSON \u683c\u5f0f\u62a5\u544a\u3002<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<h3><strong>\u00a0\u914d\u7f6e DNS TXT \u8bb0\u5f55<\/strong><\/h3>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u5728\u57df\u540d\u7684 DNS \u7ba1\u7406\u5e73\u53f0\u4e2d\uff0c\u6dfb\u52a0\u4e00\u6761\u7279\u5b9a\u683c\u5f0f\u7684 TXT \u8bb0\u5f55\uff0c\u7528\u4e8e\u544a\u77e5\u62a5\u544a\u53d1\u9001\u65b9 \u201c\u62a5\u544a\u63a5\u6536\u5730\u5740\u201d \u548c \u201c\u62a5\u544a\u7b56\u7565\u201d\u3002<\/p>\n<p>\u4ee5Gmail\u4e3a\u4f8b\uff0c\u9488\u5bf9_smtp._tls.gmail.com \u8bbe\u7f6e\u4e00\u6761TXT\u8bb0\u5f55\uff0c\u8bb0\u5f55\u503c\u5982\u4e0b\uff1a<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">v=TLSRPTv1;rua=mailto:sts-reports@google.com<\/pre>\n<p>\u4ee5Outlook\u90ae\u7bb1\u4e3a\u4f8b\uff0c\u9488\u5bf9_smtp._tls.outlook.com \u8bbe\u7f6e\u4e00\u6761TXT\u8bb0\u5f55\uff0c\u8bb0\u5f55\u503c\u5982\u4e0b\uff1a<\/p>\n<\/section>\n<section class=\"code-snippet__fix code-snippet__js\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">v=TLSRPTv1;rua=https:\/\/tlsrpt.azurewebsites.net\/report<\/pre>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u4e24\u4e2a\u793a\u4f8b\uff0c\u53ef\u4ee5\u770b\u51farua\u652f\u6301mailto:\u5230\u4e00\u4e2a\u7279\u5b9a\u90ae\u7bb1\uff0c\u4e5f\u652f\u6301\u6307\u5411\u4e00\u4e2ahttps\u7ad9\u70b9\u3002<\/p>\n<\/section>\n<section>\n<section>\n<section>\n<h3><strong>\u9a8c\u8bc1 TLS-RPT \u914d\u7f6e\u662f\u5426\u751f\u6548<\/strong><\/h3>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u53ef\u901a\u8fc7nslookup\u6216\u8005dig\u547d\u4ee4\u67e5\u770bTXT\u8bb0\u5f55\u7684\u5185\u5bb9\uff0c\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[root@localhost ~]# dig +short _smtp._tls.outlook.com TXT\r\n\"v=TLSRPTv1;rua=https:\/\/tlsrpt.azurewebsites.net\/report\"<\/pre>\n<h2><strong style=\"color: #222222; font-size: 18px;\">TLS_RPT\u62a5\u544a\u793a\u4f8b<\/strong><\/h2>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\u5f53\u62a5\u544a\u53d1\u9001\u65b9\uff08\u5982 Gmail \u670d\u52a1\u5668\uff09\u68c0\u6d4b\u5230 TLS \u8fde\u63a5\u95ee\u9898\u65f6\uff0c\u4f1a\u5411 rua \u7aef\u70b9\u53d1\u9001 POST \u8bf7\u6c42\u6216\u90ae\u4ef6\uff0c\u8bf7\u6c42\u4f53\u4e3a JSON \u683c\u5f0f\u7684\u62a5\u544a\u3002<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">   \"organization-name\":\"Google Inc.\",\r\n   \"date-range\":{\r\n      \"start-datetime\":\"2025-08-20T00:00:00Z\",\r\n      \"end-datetime\":\"2025-08-20T23:59:59Z\"\r\n   },\r\n   \"contact-info\":\"smtp-tls-reporting@google.com\",\r\n   \"report-id\":\"2025-08-20T00:00:00Z_mailabc.cn\",\r\n   \"policies\":[\r\n      {\r\n         \"policy\":{\r\n            \"policy-type\":\"sts\",\r\n            \"policy-string\":[\r\n               \"version: STSv1\",\r\n               \"mode: testing\",\r\n               \"mx: mailabc.cn\",\r\n               \"max_age: 86400\"\r\n            ],\r\n            \"policy-domain\":\"mailabc.cn\"\r\n         },\r\n         \"summary\":{\r\n            \"total-successful-session-count\":0,\r\n            \"total-failure-session-count\":3\r\n         },\r\n         \"failure-details\":[\r\n            {\r\n               \"result-type\":\"validation-failure\",\r\n               \"sending-mta-ip\":\"xxx.xxx.xxx.xxx\",\r\n               \"receiving-ip\":\"xxx.xxx.xxx.xxx\",\r\n               \"receiving-mx-hostname\":\"mx.mailabc.cn\",\r\n               \"failed-session-count\":2\r\n            },\r\n            {\r\n               \"result-type\":\"validation-failure\",\r\n               \"sending-mta-ip\":\"xxx.xxx.xxx.xxx\",\r\n               \"receiving-ip\":\"xxx.xxx.xxx.xxx\",\r\n               \"receiving-mx-hostname\":\"mx.mailabc.cn\",\r\n               \"failed-session-count\":1\r\n            }\r\n         ]\r\n      }\r\n   ]\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<\/section>\n<\/section>\n<\/section>\n<section>\n<section>\n<section>\n<section><\/section>\n<\/section>\n<\/section>\n<\/section>\n<section>\u53c2\u8003\u6765\u6e90\uff1a<\/p>\n<p>1. <a href=\"https:\/\/dmarcly.com\/blog\/zh-CN\/how-to-set-up-mta-sts-and-tls-reporting\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/dmarcly.com\/blog\/zh-CN\/how-to-set-up-mta-sts-and-tls-reporting<\/a><\/p>\n<p>2. RFC 8460:\u00a0<a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc8460\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/www.rfc-editor.org\/rfc\/rfc8460<\/a><\/p>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>TLS-RPT\uff08TLS Reporting\uff09\u662f\u57fa\u4e8e\u00a0RFC 8460\u00a0\u6807\u51c6\u7684\u5b89\u5168\u673a\u5236\uff0c\u6838\u5fc3\u4f5c\u7528\u662f\u8ba9\u90ae\u4ef6\u670d\u52a1\u5668\u5c06 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2305,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[171],"tags":[174],"class_list":["post-2304","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-171","tag-tls-rpt"],"_links":{"self":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/2304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/comments?post=2304"}],"version-history":[{"count":1,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/2304\/revisions"}],"predecessor-version":[{"id":2306,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/2304\/revisions\/2306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media\/2305"}],"wp:attachment":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media?parent=2304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/categories?post=2304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/tags?post=2304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}