{"id":6406,"date":"2023-01-04T17:14:25","date_gmt":"2023-01-04T08:14:25","guid":{"rendered":"https:\/\/www.lancard.com\/blog\/?p=6406"},"modified":"2025-03-12T11:25:24","modified_gmt":"2025-03-12T02:25:24","slug":"sql-dovecot-postfix","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2023\/01\/04\/sql-dovecot-postfix\/","title":{"rendered":"(Postgre)SQL\u30b5\u30fc\u30d0\u3092\u4f7f\u3063\u305fDovecot\u3068Postfix\u306e\u30e6\u30fc\u30b6\u8a8d\u8a3c"},"content":{"rendered":"\nDovecot\u3084Postfix\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067Linux\u306e\u30e6\u30fc\u30b6\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u4eca\u56de\u306fSQL\u30b5\u30fc\u30d0\u306b\u767b\u9332\u3057\u305f\u30e6\u30fc\u30b6\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\n\n\n\n\u4ee5\u524d\u306e\u3088\u3046\u306b\u3001CentOS\u3067\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u52d5\u304f\u3088\u3046\u306b\u3057\u307e\u3059\u306e\u3067\u3001Maildir\u5f62\u5f0f\u306e\u8a2d\u5b9a\u3084SMTP\u8a8d\u8a3c\u306f\u6e08\u3093\u3067\u3044\u308b\u6240\u3078\u8ffd\u52a0\u3068\u306a\u308a\u307e\u3059\u3002\n\n\n\n<!--more-->\n\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n\n\u4eca\u56de\u306fPostgreSQL\u304c\u52d5\u3044\u3066\u3044\u305f\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u305d\u3061\u3089\u3092\u5229\u7528\u3057\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>dnf install postfix-pgsql dovecot-pgsql<\/code><\/pre>\n\n\n\n\nuid gid\u3092\u6307\u5b9a\u3057\u305f\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u3066\u3001\u9069\u5f53\u306a\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u308a\u6a29\u9650\u3092\u5f53\u3066\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>groupadd -g 5000 vmb\nuseradd -g vmb -u 5000 -s \/sbin\/nologin vmb\nmkdir \/var\/mail\/vhosts\nchown vmb.vmb \/var\/mail\/vhosts<\/code><\/pre>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/hosts<\/li>\n<\/ul>\n\n\n\n\n\u306e\u81ea\u30ed\u30fc\u30ab\u30eb\u30a2\u30c9\u30ec\u30b9\uff08127.0.0.1\u3068::1\uff09\u306e\u672b\u5c3e\u306bvirtual.localdomain\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>127.0.0.1   ... virtual.localdomain\n::1         ... virtual.localdomain<\/code><\/pre>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">PostgreSQL\u8a2d\u5b9a<\/h2>\n\n\n\n\nSQL\u3067\u5229\u7528\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30cf\u30c3\u30b7\u30e5\u5316\u3059\u308b\u305f\u3081\u3001doveadm\u3092\u5229\u7528\u3057\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>doveadm pw -p &#91;password]<\/code><\/pre>\n\n\n\n\n\u51fa\u529b\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n\n\n\n\u30e6\u30fc\u30b6\u3092\u767b\u9332\u3059\u308b\u305f\u3081\u306e\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u9069\u5f53\u306bcreateuser\u3068createdb\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>createuser -U postgres -SdR mail\ncreatedb -U mail mail\npsql -U mail mail<\/code><\/pre>\n\n\n\n\nSQL\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3001\u30c6\u30fc\u30d6\u30eb\u3068VIEW\u4f5c\u6210\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>ALTER ROLE mail WITH PASSWORD 'testpass';\n-- user table\nCREATE TABLE mail_users(id serial NOT NULL, name text, domain text, password text, constraint mail_users_pkey PRIMARY KEY(id));\nINSERT INTO mail_users(name, domain, password) VALUES('aikawa', 'virtual.localdomain', '&#91;doveadm pw\u306e\u51fa\u529b\u5185\u5bb9]');\n-- user view\nCREATE VIEW user_view AS SELECT *,\n    name||'@'||domain AS mail,\n    '\/var\/mail\/vhosts\/'||domain||'\/'||name AS dovecot_home,\n    domain||'\/'||name||'\/Maildir\/' AS maildir\n    FROM mail_users;<\/code><\/pre>\n\n\n\n\n\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u30e6\u30fc\u30b6\uff20\u30c9\u30e1\u30a4\u30f3\u5f62\u5f0f\u3067\u3001\u30e6\u30fc\u30b6\u3068\u30c9\u30e1\u30a4\u30f3\u3092\u305d\u308c\u305e\u308c\u53d6\u5f97\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n\n\n\nmail, dovecot_home, maildir\u306fVIEW\u3067\u306a\u304f\u30ab\u30e9\u30e0\u3092\u4f5c\u3063\u3066\u767b\u9332\u3057\u3066\u3082\uff2f\uff2b\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u9762\u5012\u306a\u306e\u3067VIEW\u3067\u81ea\u52d5\u7684\u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002maildir\u3068dovecot_home\u305d\u308c\u305e\u308c\u9055\u3046\u306e\u306f\u3001postfix\u3068dovecot\u3067\u5f62\u5f0f\u304c\u50c5\u304b\u306b\u9055\u3046\u305f\u3081\u3067\u3059\u3002\n\n\n\n\n<h2 class=\"wp-block-heading\">Postfix\u8a2d\u5b9a<\/h2>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/postfix\/main.cf<\/li>\n<\/ul>\n\n\n\n\n\u3078virtual_domain\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code># virtual\nvirtual_uid_maps = static:5000\nvirtual_gid_maps = static:5000\nvirtual_minimum_uid = 100\nvirtual_mailbox_domains = virtual.localdomain\nvirtual_mailbox_base = \/var\/mail\/vhosts\nvirtual_mailbox_maps = pgsql:\/etc\/postfix\/pgsql_mailbox.cf<\/code><\/pre>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/postfix\/pgsql_mailbox.cf<\/li>\n<\/ul>\n\n\n\n\n\u3092\u8ffd\u52a0\u3057\u3001SQL\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u3068SQL\u3092\u8a18\u8f09\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>hosts = localhost\ndbname = mail\nuser = mail\npassword = testpass\nquery = SELECT maildir FROM user_view WHERE name = '%u' AND domain = '%d';<\/code><\/pre>\n\n\n\n\n\u30ea\u30ed\u30fc\u30c9\u3057\u3001postmap\u3067SQL\u30e6\u30fc\u30b6\u3092\u5f15\u3051\u308b\u304b\u78ba\u8a8d\u51fa\u6765\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl reload postfix\npostmap -q aikawa@virtual.localdomain pgsql:\/etc\/postfix\/pgsql_mailbox.cf\n# \u51fa\u529b: virtual.localdomain\/aikawa\/Maildir\/<\/code><\/pre>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Dovecot\u8a2d\u5b9a<\/h2>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/dovecot\/conf.d\/10-auth.conf<\/li>\n<\/ul>\n\n\n\n\nSQL\u8a8d\u8a3c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n\n\n\n\u305f\u3060\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u4e26\u3073\u3067\u306f\u30b7\u30b9\u30c6\u30e0\u8a8d\u8a3c\u306e\u5931\u6557\u30b3\u30b9\u30c8\u304c\u9ad8\u3044\u3089\u3057\u304f\u3001RoundCube\u74b0\u5883\u3067\u306f\u76ee\u306b\u898b\u3048\u3066\u9045\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u7121\u52b9\u5316\u3059\u308b\u304b\u3001\u51fa\u6765\u306a\u3051\u308c\u3070SQL\u8a8d\u8a3c\u304c\u5148\u306b\u6765\u308b\u3088\u3046\u306b\u5165\u308c\u66ff\u3048\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>!include auth-sql.conf.ext\n!include auth-system.conf.ext<\/code><\/pre>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/dovecot\/dovecot-sql.conf.ext<\/li>\n<\/ul>\n\n\n\n\n\u3092\u4f5c\u6210\u3002\n\n\n\nuid, gid\u306f\u3069\u306e\u30e6\u30fc\u30b6\u30825000\u56fa\u5b9a\u306a\u306e\u3067\u3001\u76f4\u63a5\u66f8\u304d\u307e\u3059\u3002\u3082\u3057\u30e6\u30fc\u30b6\u3054\u3068\u306b\u7570\u306a\u308b\u5834\u5408\u306f\u30c6\u30fc\u30d6\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u6709\u308a\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>driver = pgsql\nconnect = host=127.0.0.1 user=mail password=testpass dbname=mail\ndefault_pass_scheme = CRAM-MD5\nuser_query = SELECT dovecot_home AS home, 5000 AS uid, 5000 AS gid FROM user_view WHERE mail = '%u'\npassword_query = SELECT name AS username, domain, password FROM user_view WHERE mail = '%u'<\/code><\/pre>\n\n\n\n\n\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3001\u53cd\u6620\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl reload dovecot<\/code><\/pre>\n\n\n\n\nDovecot\u304cSQL\u30e6\u30fc\u30b6\u3092\u5f15\u3051\u308b\u304bdoveadm\u3067\u78ba\u8a8d\u51fa\u6765\u307e\u3059\u3002\n\n\n\n\u203b\u3053\u3053\u3067SQL\u30b5\u30fc\u30d0\u3078\u63a5\u7d9a\u51fa\u6765\u306a\u3044\u5834\u5408\u3001\u3082\u306e\u3059\u3054\u304f\u9577\u3044\u6642\u9593\u5f85\u305f\u3055\u308c\u5931\u6557\u3057\u307e\u3059\u306e\u3067\u30ed\u30b0\u7b49\u78ba\u8a8d\u3092\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>doveadm user 'aikawa@virtual.localdomain'<\/code><\/pre>\n\n\n\n\n\u6210\u529f\u3059\u308b\u3068\u3053\u3093\u306a\u98a8\u306b\u51fa\u529b\u3055\u308c\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>field   value\nuid     5000\ngid     5000\nhome    \/var\/mail\/vhosts\/virtual.localdomain\/aikawa\nmail    maildir:~\/Maildir<\/code><\/pre>\n\n\n\n\n\u8a8d\u8a3c\u51fa\u6765\u308b\u304b\u306e\u78ba\u8a8d\u3082\u51fa\u6765\u307e\u3059\u3002\u3053\u306e\u5f8c\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3001auth succeeded \u304c\u51fa\u308c\u3070OK\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>doveadm auth test -x service=imaps 'aikawa@virtual.localdomain'<\/code><\/pre>\n\n\n\n\n\u306a\u304aRoundCube\u306e\u30ed\u30b0\u30a4\u30f3\u6642\u3082\u3001\u30e6\u30fc\u30b6\u540d\u306f aikawa@virtual.localdomain \u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5f62\u5f0f\u3067\u5165\u529b\u3057\u307e\u3059\u3002\n\n\n\n\u305d\u3046\u3067\u306a\u3044\u30e6\u30fc\u30b6\u540d\u306e\u307f\u306e\u65b9\u5f0f\u306b\u3082\u51fa\u6765\u307e\u3059\u304c\u3001Linux\u30e6\u30fc\u30b6\u3082\u5f15\u304d\u7d9a\u304d\u5229\u7528\u3059\u308b\u5834\u5408\u7af6\u5408\u3059\u308b\u306e\u3067\u4eca\u56de\u306f\u3053\u3046\u3057\u3066\u3044\u307e\u3059\u3002\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406&#038;t=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406&#038;text=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406&#038;title=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=%28Postgre%29SQL%E3%82%B5%E3%83%BC%E3%83%90%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9FDovecot%E3%81%A8Postfix%E3%81%AE%E3%83%A6%E3%83%BC%E3%82%B6%E8%AA%8D%E8%A8%BC&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6406\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>Dovecot\u3084Postfix\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067Linux\u306e\u30e6\u30fc\u30b6\u3092\u305d\u306e\u307e\u307e\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u4eca\u56de\u306fSQL\u30b5\u30fc\u30d0\u306b\u767b\u9332\u3057\u305f\u30e6\u30fc\u30b6\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002 \u4ee5\u524d\u306e\u3088\u3046\u306b\u3001CentOS\u3067\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u52d5\u304f\u3088\u3046\u306b\u3057\u307e\u3059\u306e [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6406","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=6406"}],"version-history":[{"count":17,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6406\/revisions"}],"predecessor-version":[{"id":6423,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6406\/revisions\/6423"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=6406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=6406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=6406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}