{"id":5494,"date":"2023-02-07T13:05:44","date_gmt":"2023-02-07T12:05:44","guid":{"rendered":"https:\/\/dmesg.app\/?p=5494"},"modified":"2023-03-15T08:03:00","modified_gmt":"2023-03-15T07:03:00","slug":"container-smtp","status":"publish","type":"post","link":"https:\/\/dmesg.app\/container-smtp.html","title":{"rendered":"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f"},"content":{"rendered":"<div  class=\"sc_act\">\u8fd9\u7bc7\u6587\u7ae0\u5728 2023\u5e7403\u670815\u65e508:03:00 \u66f4\u65b0\u4e86\u54e6~<\/div><p>\u51e0\u5929\u524d\uff0c\u6211\u5f00\u653e\u4e86<a href=\"https:\/\/yyets.dmesg.app\/home\">\u4eba\u4eba\u5f71\u89c6\u4e0b\u8f7d\u7ad9<\/a>\u7684\u7528\u6237\u6ce8\u518c\u529f\u80fd\uff0c\u5e76\u4e14\u65b0\u7528\u6237\u5728\u6ce8\u518c\u540e\u9700\u8981\u9a8c\u8bc1\u90ae\u7bb1\u624d\u80fd\u53d1\u8868\u8bc4\u8bba\u3002\u5f00\u653e\u6ce8\u518c\u53ef\u80fd\u4f1a\u63d0\u9ad8\u7528\u6237\u7684\u6d3b\u8dc3\u5ea6\uff0c\u4f46\u662f\u53c8\u603b\u6709\u7528\u6237\u53d1\u4e00\u4e9b\u4e0d\u5408\u9002\u7684\u4e1c\u897f\uff0c\u56e0\u6b64\u6709\u5fc5\u8981\u63d0\u9ad8\u4e00\u70b9\u6ce8\u518c\u95e8\u69db\u3002<\/p>\n<p>\u540e\u7aef\u7684\u63a5\u53e3\u5927\u6982\u5728\u534a\u5e74\u524d\u5c31\u5199\u597d\u4e86\uff0c\u6211\u6700\u8fd1\u624d\u5b66\u4e86\u4e00\u70b9\u70b9 React\u505a\u597d\u4e86\u90ae\u4ef6\u9a8c\u8bc1\u7684\u529f\u80fd\u3002<\/p>\n<h2>\u5982\u4f55\u7528\u53d1\u90ae\u4ef6<\/h2>\n<p>\u6211\u7528\u7684\u662friseup\u6765\u53d1\uff0c\u57fa\u672c\u5982\u4e0b\u51e0\u6b65\uff1a<\/p>\n<ol>\n<li>\u53bb\u57df\u540d\u6ce8\u518c\u5546\u90a3\u8fb9\u6dfb\u52a0\u4e00\u4e2aemail forward\uff0c\u56e0\u4e3a\u540e\u9700\u8981\u9a8c\u8bc1<\/li>\n<li>\u53bbriseup\u6dfb\u52a0\u4e00\u4e2aalias<\/li>\n<li>\u53bbDNS\u90a3\u8fb9\u6dfb\u52a0\u4e00\u4e2aSPF \u8bb0\u5f55<code>v=spf1 include:riseup.net +all<\/code>\uff0c\u5982\u679c\u540c\u65f6\u8fd8\u60f3\u7528email forward\uff0c\u90a3\u5c31\u6dfb\u52a0 include\u5c31\u597d\u4e86\uff0c\u6bd4\u5982\u8bf4\u6211\u7684\u662f\u8fd9\u6837\u7684<code>v=spf1 include:_spf.mx.cloudflare.net include:riseup.net +all<\/code><\/li>\n<li>\u7528SMTP\u534f\u8bae\uff0c\u53ef\u4ee5\u5148\u7528mailhog\u505a\u6d4b\u8bd5\uff0c\u786e\u5b9a\u6ca1\u95ee\u9898\u6765\u4e4b\u540e\u5207\u5230riseup\uff0c\u4ee3\u7801\u5927\u6982\u8fd9\u6837<\/li>\n<\/ol>\n<pre class=\"prettyprint linenums\">import smtplib\r\nfrom email.header import Header\r\nfrom email.mime.text import MIMEText\r\nfrom email.utils import formataddr, parseaddr\r\n\r\n\r\ndef _format_addr(s):\r\n    name, addr = parseaddr(s)\r\n    return formataddr((Header(name, &#039;utf-8&#039;).encode(), addr))\r\n\r\n\r\ndef send_mail(to: str, subject: str, body: str):\r\n    user = &quot;username&quot;\r\n    password = &quot;password&quot;\r\n    host = &quot;mail.riseup.net&quot;\r\n    port = 465\r\n    from_addr = &quot;yyets@dmesg.app&quot;\r\n\r\n    msg = MIMEText(body, &#039;html&#039;, &#039;utf-8&#039;)\r\n    msg[&#039;From&#039;] = _format_addr(&#039;YYeTs &lt;%s&gt;&#039; % from_addr)\r\n    msg[&#039;To&#039;] = _format_addr(to)\r\n    msg[&#039;Subject&#039;] = Header(subject, &#039;utf-8&#039;).encode()\r\n\r\n    if port == &quot;1025&quot;:\r\n        server = smtplib.SMTP(host, int(port))\r\n    else:\r\n\r\n        server = smtplib.SMTP_SSL(host, int(port))\r\n    server.login(user, password)\r\n    server.sendmail(from_addr, [to], msg.as_string())\r\n    server.quit()\r\n\r\n\r\nif __name__ == &#039;__main__&#039;:\r\n    send_mail(&quot;benny.think@gmail.com&quot;, &quot;test subject&quot;, &quot;test body&quot;)\r\n\r\n<\/pre>\n<p>\u6536\u5230\u7684\u90ae\u4ef6\u4e5f\u6bd4\u8f83\u7406\u60f3\uff0c\u4e00\u822c\u6765\u8bf4\u4e0d\u4f1a\u8fdbspam<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/7bc5d24.webp.ee\/wp-content\/uploads\/2023\/02\/2023020703173685.png\" alt=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" title=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" alt=\"\u56fe\u5f62\u7528\u6237\u754c\u9762, \u6587\u672c, \u5e94\u7528\u7a0b\u5e8f \u63cf\u8ff0\u5df2\u81ea\u52a8\u751f\u6210\" \/><\/p>\n<h2>\u95ee\u9898<\/h2>\n<p>\u524d\u51e0\u5929\u505a\u6d4b\u8bd5\u7684\u65f6\u5019\u4e00\u5207\u987a\u5229\uff0c\u4e0a\u7ebf\u7684\u65f6\u5019\u672c\u6765\u4ee5\u4e3a\u6ca1\u4ec0\u4e48\u5927\u95ee\u9898\uff0c\u7ed3\u679c\u4eca\u5929\u5374\u6536\u5230\u4e86\u4e00\u4e2a\u7528\u6237\u7684\u53cd\u9988\uff0c\u8bf4\u6536\u4e0d\u5230\u90ae\u4ef6\uff0c\u8bd5\u4e86\u5404\u79cd\u90ae\u7bb1\uff0c\u68c0\u67e5\u4e86\u5783\u573e\u7bb1\uff0c\u4e5f\u6ca1\u6709\u6536\u5230\u3002<\/p>\n<h2>\u6392\u67e5\u95ee\u9898<\/h2>\n<p>\u52a0\u4e86\u51e0\u6761log\u4e4b\u540e\u53d1\u73b0\u5728\u5bb9\u5668\u4e2d smtplib.SMTP_SSL \u4f1a\u76f4\u63a5\u5361\u4f4f\uff0c\u5982\u679c\u6309ctrl + c\u4f1a\u6536\u5230\u8fd9\u6837\u7684\u62a5\u9519<\/p>\n<pre class=\"prettyprint linenums\">Traceback(most recent call last):\r\n  File &quot;&quot;, line 1, in \r\n  File &quot;\/YYeTsBot\/yyetsweb\/utils.py&quot;, line 51, in send_mail\r\n    server = smtplib.SMTP_SSL(host, int(port))\r\n  File &quot;\/usr\/local\/lib\/python3.10\/smtplib.py&quot;, line 1050, in __init__\r\n    SMTP.__init__(self, host, port, local_hostname, timeout,\r\n  File &quot;\/usr\/local\/lib\/python3.10\/smtplib.py&quot;, line 255, in __init__\r\n    (code, msg)=self.connect(host, port)\r\n  File &quot;\/usr\/local\/lib\/python3.10\/smtplib.py&quot;, line 341, in connect\r\n    self.sock=self._get_socket(host, port, self.timeout)\r\n  File &quot;\/usr\/local\/lib\/python3.10\/smtplib.py&quot;, line 1057, in _get_socket\r\n    new_socket=self.context.wrap_socket(new_socket,\r\n  File &quot;\/usr\/local\/lib\/python3.10\/ssl.py&quot;, line 513, in wrap_socket\r\n    return self.sslsocket_class._create(\r\n  File &quot;\/usr\/local\/lib\/python3.10\/ssl.py&quot;, line 1071, in _create\r\n    self.do_handshake()\r\n  File &quot;\/usr\/local\/lib\/python3.10\/ssl.py&quot;, line 1342, in do_handshake\r\n    self._sslobj.do_handshake()\r\nssl.SSLZeroReturnError: TLS\/SSL connection has been closed(EOF)(_ssl.c: 997)\r\n\r\n<\/pre>\n<p>\u5947\u602a\u54e6\uff0c\u90a3\u5c31\u6392\u9664\u6cd5\u505a\u51e0\u4e2a\u6d4b\u8bd5\uff0c\u9996\u5148\u5728\u5bb9\u5668\u5185nc\u4e00\u4e0b\u770b\u770b<\/p>\n<pre class=\"prettyprint linenums\">\/ # nc -v mail.riseup.net 465\r\nmail.riseup.net (198.252.153.21:465) open\r\n<\/pre>\n<p>\u901a\u7684\u8036\uff01\u90a3\u5bb9\u5668\u5185\u8fde\u8bd5\u8bd5\uff1f<\/p>\n<pre class=\"prettyprint linenums\">[root:~]# docker run --rm -it python:alpine sh\r\n\/ # python\r\nPython 3.11.1 (main, Feb 4 2023, 01:59:37) [GCC 12.2.1 20220924] on linux\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n&gt;&gt;&gt; import smtplib\r\n&gt;&gt;&gt; smtplib.SMTP_SSL(&quot;mail.riseup.net&quot;,465)\r\n<\/pre>\n<p>\u679c\u4e0d\u5176\u7136\uff0c\u5361\u4f4f\u4e86\u3002\u53bb\u5bbf\u4e3b\u673a\u8bd5\u8bd5\u770b\u5462\uff1f<\/p>\n<pre class=\"prettyprint linenums\">[root:~]# python\r\nPython 3.8.10 (default, Nov 14 2022, 12:59:47)\r\n[GCC 9.4.0] on linux\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n&gt;&gt;&gt; import smtplib\r\n&gt;&gt;&gt; smtplib.SMTP_SSL(&quot;mail.riseup.net&quot;,465)\r\n&lt;smtplib.SMTP_SSL object at 0xffffa1148610&gt;\r\n&gt;&gt;&gt;\r\n<\/pre>\n<p>\u6ca1\u95ee\u9898\u54ce\u3002\u770b\u7740\u4e0a\u9762\u6709TLS\/SSL connection has been closed(EOF)\uff0c\u96be\u9053\u662fOpenSSL\u7684\u95ee\u9898\uff0c\u8bd5\u8bd5 <code>python<\/code>\u800c\u4e0d\u662f<code>python:alpine <\/code>\u5462\uff1f<\/p>\n<p>\u4e5f\u4e0d\u884c\u3002<\/p>\n<p>\u662f\u56e0\u4e3aarm64\u6709bug\u5417\uff1f\u4f46\u662f\u6211\u7684\u7535\u8111\u6ca1\u95ee\u9898\u554a\ud83e\udd14\u627e\u4e86\u4e00\u53f0x86_64\u7684\u8bd5\u4e86\u4e00\u4e0b\u4e5f\u6ca1\u95ee\u9898\u3002<\/p>\n<p>\u8fd9\u4e48\u6392\u9664\u4e0b\u6765\uff0c\u95ee\u9898\u5c31\u662f\u5bb9\u5668\u7684\u7f51\u7edc\u4e86\u3002\u9ed8\u8ba4\u6765\u8bf4docker\u7684\u9ed8\u8ba4\u7f51\u7edc\u4e0abridge\u6a21\u5f0f\u3002Bridge\u662f\u901a\u8fc7iptables\u53bb\u505a\u8f6c\u53d1\u7684\uff0c\u4e4b\u524d\u5728<a href=\"https:\/\/dmesg.app\/ufw-vs-docker.html\">\u300a\u6211\u7684ufw\u600e\u4e48\u53c8\u4e0d\u597d\u7528\u4e86\uff1f\u4f7f\u7528docker\u65f6\u5982\u4f55\u62d2\u7edd\u975ecloudflare\u8bbf\u95ee\u300b<\/a>\u4e2d\u63d0\u5230\u8fc7\u3002<\/p>\n<p>\u5207\u6362\u5230host\u6a21\u5f0f\u8bd5\u8bd5\u770b\uff1f<\/p>\n<pre class=\"prettyprint linenums\">[root:~]# docker run --rm --network host -it python:alpine sh\r\n\/ # python\r\nPython 3.11.1 (main, Feb 4 2023, 01:59:37) [GCC 12.2.1 20220924] on linux\r\nType &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.\r\n\r\n&gt;&gt;&gt; import smtplib\r\n&gt;&gt;&gt; smtplib.SMTP_SSL(&quot;mail.riseup.net&quot;,465)\r\n&lt;smtplib.SMTP_SSL object at 0xffff96122ed0&gt;\r\n&gt;&gt;&gt;\r\n<\/pre>\n<p>\u679c\u7136\uff0c\u90a3\u4e3a\u4ec0\u4e48bridge\u6a21\u5f0f\u4e0d\u884chost\u5c31\u53ef\u4ee5\u5462\uff1f<\/p>\n<p>\u770b\u4e86\u4e00\u773ciptables\uff0c\u7a81\u7136\u770b\u5230\u8fd9\u4e48\u4e00\u6761<\/p>\n<pre class=\"prettyprint linenums\">Chain PREROUTING (policy ACCEPT)\r\ntarget prot opt source destination\r\n\r\nREDIRECT tcp -- anywhere anywhere tcp dpts:telnet:finger redir ports 16698\r\nREDIRECT tcp -- anywhere anywhere tcp dpts:81:442 redir ports 16698\r\nREDIRECT tcp -- anywhere anywhere tcp dpts:snpp:1000 redir ports 16698\r\nDOCKER all -- anywhere anywhere ADDRTYPE match dst-type LOCAL\r\n<\/pre>\n<p>\u8fd9\u4e0d\u662f\u4e4b\u524d\u4e3a\u4e86\u65b9\u4fbf\u68af\u5b50\u4f7f\u7528\uff0c\u628a23-1000\u4e2d\u9664\u4e8680\u548c443\u7684\u7aef\u53e3\u90fd\u7ed9\u8f6c\u53d1\u5230\u672c\u5730\u768416698\u4e86\u5417\uff1f\ud83d\ude13<\/p>\n<p>\u5220\u6389\u8fd9\u6761\u89c4\u5219\u5c31\u597d\u4e86\u3002<\/p>\n<h2>\u5176\u4ed6\u7684\u53d1\u90ae\u4ef6\u7684\u529e\u6cd5<\/h2>\n<p>\u6bd4\u5982\u8bf4\u81ea\u5efa\uff0cmailgun\uff0csendgrid\u4e4b\u7c7b\u7684\uff0c\u6211\u4e2a\u4eba\u89c9\u5f97sendgrid\u6bd4\u8f83\u4e0d\u9519\uff0c\u514d\u8d39\u7528\u6237\u6bcf\u5929\u53ef\u4ee5\u53d1100\u5c01\u3002\u53e6\u5916\u4e00\u4e2amailersend\u4e00\u4e2a\u6708\u53ef\u4ee5\u53d112000\u3002\u540c\u6837\u90fd\u53ef\u4ee5\u7528SMTP\u534f\u8bae\u624b\u6413\u90ae\u4ef6\u3002<\/p>\n<h2>\u4eba\u4eba\u5f71\u89c6\u5206\u4eab\u7ad9\u8fd0\u884c\u72b6\u51b5\u5206\u4eab<\/h2>\n<p>\u4eba\u4eba\u5f71\u89c6\u5206\u4eab\u7ad9\u5927\u69822021\u5e742\u6708\u521d\u5f00\u59cb\u4e0a\u7ebf\uff0c6\u6708\u7684\u65f6\u5019\u5728 <a href=\"https:\/\/github.com\/wyx1818\">zuiyu<\/a>\u7684\u5e2e\u52a9\u4e0b\u7528React\u91cd\u505a\u4e86\u524d\u7aef\uff0c\u5df2\u7ecf\u8dd1\u4e86\u6574\u6574\u4e24\u5e74\u5566\u3002<\/p>\n<h3>\u4e24\u5e74\u91cc\u7684\u6536\u83b7<\/h3>\n<ul>\n<li>\u603b\u8ba121000\u6761\u8bc4\u8bba\uff0c\u6709\u5f88\u591a\u70ed\u5fc3\u7f51\u53cb\u90fd\u4f1a\u628a\u65b0\u51fa\u7684\u5267\u96c6\u7f51\u76d8\u5206\u4eab\u8d34\u5230\u8bc4\u8bba\u533a\uff0c\u975e\u5e38\u4f18\u79c0\uff01<\/li>\n<li>37000\u4e2a\u7528\u6237\ud83d\ude02\u867d\u7136\u53ef\u80fd\u5927\u90e8\u5206\u7528\u6237\u90fd\u4e0d\u6d3b\u8dc3<\/li>\n<li>\u6bcf\u65e5\u5927\u6982\u6709\u51e0\u5343\u4e2a\u8bbf\u95ee<\/li>\n<li><a href=\"https:\/\/github.com\/tgbot-collection\/YYeTsBot\">YYeTsBot\u9879\u76ee<\/a>\u6536\u83b7\u4e8612.4K\u7684star\u548c1.7k\u7684fork\uff0c\u5199\u5728\u7b80\u5386\u4e0a\u5f88\u6709\u8da3\ud83d\ude02<\/li>\n<li><a href=\"https:\/\/github.com\/tgbot-collection\/YYeTsFE\">\u524d\u7aefYYeTsFE<\/a> \u6536\u83b7\u4e86182\u4e2astar\u548c49\u4e2afork<\/li>\n<li><a href=\"https:\/\/afdian.net\/a\/BennyThink\">\u7231\u53d1\u7535<\/a>\u5f97\u5230\u4e86\u4e00\u4e9b\u70ed\u5fc3\u7f51\u53cb\u7684\u5e2e\u52a9\uff0c\u8db3\u591f\u57df\u540d\u548c\u670d\u52a1\u5668\u7684\u8d39\u7528\u4e86\uff0c\u4e5f\u4e0d\u6789\u8d39\u6211N\u591a\u4e2a\u5c0f\u65f6\u7684\u52aa\u529b<\/li>\n<li>\u52a0\u4e86Adsense\uff0c\u5982\u679c\u53ef\u4ee5\u7684\u8bdd\u5e0c\u671b\u5404\u4f4d\u80fd\u5173\u6389\u5e7f\u544a\u5c4f\u853d\u5668\u3002<strong>\u4ee5\u540e\u6211\u7684\u732b\u732b\u4eec\u5c31\u662f\u5e7f\u5927\u7f51\u53cb\u4eec\u517b\u7684\u4e86\uff01<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/dmesg.app\/wp-content\/uploads\/2023\/02\/2023020703250152.jpg\" alt=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" title=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" rel=\"box\" class=\"fancybox\"><img loading=\"lazy\" decoding=\"async\" width=\"1992\" height=\"1494\" class=\"alignnone size-full wp-image-5498\" src=\"https:\/\/7bc5d24.webp.ee\/wp-content\/uploads\/2023\/02\/2023020703250152.jpg\" alt=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" title=\"\u4e3a\u4ec0\u4e48\u6211\u7684\u5bb9\u5668\u8fde\u4e0d\u4e0ariseup\u7684\u90ae\u4ef6\u670d\u52a1\u5668\u4e86\uff1f\" alt=\"\u732b\" \/><\/a><\/p>\n<h3>\u672a\u6765\u4e00\u6bb5\u65f6\u95f4\u60f3\u8981\u505a\u7684\u4e8b\u60c5<\/h3>\n<ul>\n<li>\u628a\u7f51\u7ad9\u7ee7\u7eed\u5f00\u4e0b\u53bb\uff0c\u5c3d\u91cf\u6d3b\u4e0b\u53bb<\/li>\n<li>\u4f18\u5316\u524d\u7aef\uff0c\u63d0\u5347\u6613\u7528\u6027<\/li>\n<li>\u63d0\u5347\u8bbf\u95ee\u91cf\uff0c\u8fd9\u5f88\u5211\uff01<\/li>\n<li>\u5e0c\u671b\u80fd\u627e\u5230\u4eba\u548c\u6211\u4e00\u8d77\u7ef4\u62a4\uff0c<del>\u8fd9\u6837\u4f60\u4e5f\u662f\u67d0\u4e2a10K+ star\u7684\u9879\u76ee\u90fd\u7ef4\u62a4\u8005\u4e86 \ud83e\udd29<\/del>\uff0c\u8981\u4e0d\u6211\u8fd9\u5f00\u6e90\u6709\u4ec0\u4e48\u610f\u601d\u561b<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u6b22\u8fce\u7ed9\u4e2astar\u6216\u8005\u70b9\u4e2a\u5e7f\u544a\uff5e<\/p>\n<p><a href=\"https:\/\/yyets.dmesg.app\/\">https:\/\/yyets.dmesg.app\/<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/tgbot-collection\/YYeTsBot\">https:\/\/github.com\/tgbot-collection\/YYeTsBot<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u5728 2023\u5e7403\u670815\u65e508:03:00 \u66f4\u65b0\u4e86\u54e6~\u51e0\u5929\u524d\uff0c\u6211\u5f00\u653e\u4e86\u4eba\u4eba\u5f71\u89c6\u4e0b\u8f7d\u7ad9\u7684\u7528\u6237\u6ce8\u518c\u529f\u80fd\uff0c\u5e76 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"class_list":["post-5494","post","type-post","status-publish","format-standard","hentry","category-program"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts\/5494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/comments?post=5494"}],"version-history":[{"count":7,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts\/5494\/revisions"}],"predecessor-version":[{"id":5503,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/posts\/5494\/revisions\/5503"}],"wp:attachment":[{"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/media?parent=5494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/categories?post=5494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dmesg.app\/wp-json\/wp\/v2\/tags?post=5494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}