{"id":6977,"date":"2023-03-31T17:34:59","date_gmt":"2023-03-31T08:34:59","guid":{"rendered":"https:\/\/www.lancard.com\/blog\/?p=6977"},"modified":"2025-03-12T11:23:57","modified_gmt":"2025-03-12T02:23:57","slug":"mail-dovecot","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2023\/03\/31\/mail-dovecot\/","title":{"rendered":"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3067LDAP\u3092\u5229\u7528\u3059\u308b"},"content":{"rendered":"\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<a href=\"https:\/\/www.lancard.com\/blog\/2023\/03\/29\/ldap\/\">\u524d\u56de\u306eLDAP<\/a>\u8a2d\u5b9a\u5f8c\u306b\u3001Postfix\u3068Dovecot\u3067LDAP\u306e\u30e6\u30fc\u30b6\u3092\u8a8d\u8a3c\u3057\u307e\u3059\u3002<br>\u30e1\u30fc\u30eb\u306e\u74b0\u5883\u306f\u3001<a href=\"https:\/\/www.lancard.com\/blog\/2023\/01\/04\/sql-dovecot-postfix\/\">\u4ee5\u524d\u66f8\u3044\u305f\u8a18\u4e8b<\/a>\u306e\u8a2d\u5b9a\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u5f62\u3068\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n<!--more-->\n\n\n\n\n<h2 class=\"wp-block-heading\">LDAP<\/h2>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\nSSL\u306e\u81ea\u5df1\u8a3c\u660e\u66f8\u30a8\u30e9\u30fc\u3067\u3001Dovecot\u3067\u306f\u305d\u306e\u307e\u307e\u3067\u306f\u63a5\u7d9a\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u305f\u3081\u3001\u3082\u3046\u3061\u3087\u3063\u3068\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\uff08Postfix\u306f\u305d\u306e\u8fba\u7121\u8996\u51fa\u6765\u308b\u3088\u3046\u3067\u3001\u63a5\u7d9a\u51fa\u6765\u307e\u3059\u304c\uff09\u3002\n<\/div>\n<\/div>\n\n\n\n\nserver.crt\u306e[\u30cf\u30c3\u30b7\u30e5\u5316\u3055\u308c\u305f\u8a3c\u660e\u66f8\u306e\u30b5\u30d6\u30b8\u30a7\u30af\u30c8\u540d.0]\u3067\u30ea\u30f3\u30af\u540d\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001059fe35b.0\u306e\u3088\u3046\u306a\u30ea\u30f3\u30af\u540d\u3092\u4f5c\u308a\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/etc\/openldap\/certs\/server.crt \/etc\/openldap\/certs\/`openssl x509 -noout -hash -in \/etc\/openldap\/certs\/server.crt`.0<\/code><\/pre>\n\n\n\n\n\u6b21\u306b\u3001ldap.conf\u306bTLS_CACERTDIR\u3092\u8ffd\u8a18\u3002\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/openldap\/ldap.conf<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>TLS_CACERTDIR   \/etc\/openldap\/certs\/<\/code><\/pre>\n\n\n\n\n\u30ea\u30b9\u30bf\u30fc\u30c8\u3057\u3066SSL\u63a5\u7d9a\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u3044\u4e8b\u3092\u78ba\u8a8d\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart slapd\nldapsearch -H ldaps:\/\/virtual.localdomain:636 -d 1  -b o=virtual.localdomain -D \"\" -s base \"(objectclass=*)\"<\/code><\/pre>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Postfix<\/h2>\n\n\n\n\npostfix-ldap\u304c\u5fc5\u8981\u3067\u3059\u306e\u3067\u3001\u5165\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>dnf -y install postfix-ldap\nsystemctl reload postfix<\/code><\/pre>\n\n\n\n\nPostfix\u306fvirtual_alias\u3068virtual_mailbox\u3092LDAP\u3067\u8a18\u8f09\u3057\u307e\u3059\u3002\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/postfix\/main.cf<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>virtual_alias_maps = ldap:\/etc\/postfix\/ldap-alias.cf\n#virtual_mailbox_maps = pgsql:\/etc\/postfix\/pgsql_mailbox.cf\nvirtual_mailbox_maps = ldap:\/etc\/postfix\/ldap-mailbox.cf<\/code><\/pre>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/postfix\/ldap-alias.cf<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>server_host = ldaps:\/\/virtual.localdomain:636\nsearch_base = OU=people,DC=virtual,DC=localdomain\nbind = yes\nbind_dn = CN=Manager,DC=virtual,DC=localdomain\nbind_pw = testpass\nscope = one\nquery_filter = (&amp;(objectClass=inetOrgPerson)(mail=%s))\nresult_attribute = mail\nversion = 3<\/code><\/pre>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n\u30e6\u30fc\u30b6\u304c\u5b58\u5728\u3059\u308b\u304b\u78ba\u8a8d\u3057\u3001\u5b58\u5728\u3059\u308b\u5834\u5408\u306f\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3092\u8fd4\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/postfix\/ldap-mailbox.cf<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>server_host = ldaps:\/\/virtual.localdomain:636\nsearch_base = OU=people,DC=virtual,DC=localdomain\nbind = yes\nbind_dn = CN=Manager,DC=virtual,DC=localdomain\nbind_pw = testpass\nscope = one\nquery_filter = (&amp;(objectClass=inetOrgPerson)(mail=%s))\nresult_attribute = description\nresult_format = %u\/Maildir\/\nversion = 3<\/code><\/pre>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\nscope=one\u306fsearch_base\u306e\u4e00\u3064\u4e0b\u306e\u968e\u5c64\u3060\u3051\u3092\u30b5\u30fc\u30c1\u3057\u307e\u3059\u3002\u968e\u5c64\u304c\u5206\u304b\u308c\u308b\u306a\u3089sub\u3092\u4f7f\u3044\u307e\u3059\u3002<br>\u4ee5\u524d\u306e\u8a2d\u5b9a\u3067virtual_mailbox_base = \/var\/mail\/vhosts \u3060\u3063\u305f\u306e\u3067\u3001LDAP\u306edescription\u306fvirtual.localdomain\/yamada\u3068\u3057\u3001result_format\u3067\u6700\u7d42\u7684\u306bvirtual.localdomain\/yamada\/Maildir\/\u3068\u8fd4\u3059\u4e8b\u306b\u306a\u308a\u307e\u3059\u3002<br>\u203bLDAP\u306bdescription\u3067\u306f\u306a\u3044\u5225\u5c5e\u6027\u540d\u3082\u8ffd\u52a0\u51fa\u6765\u307e\u3059\u304c\u3001\u9762\u5012\u306a\u306e\u3067\u4eca\u56de\u306f\u7a7a\u304d\u5c5e\u6027\u3092\u5229\u7528\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n\u305d\u308c\u305e\u308c\u3001\u4e0a\u624b\u304f\u53d6\u5f97\u51fa\u6765\u308b\u304b\u3092\u4ee5\u4e0b\u3067\u78ba\u8a8d\u3057\u307e\u3059\u3002\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-code\"><code>postalias -q yamada@virtual.localdomain ldap:\/etc\/postfix\/ldap-alias.cf\npostmap -q yamada@virtual.localdomain ldap:\/etc\/postfix\/ldap-mailbox.cf<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Dovecot<\/h2>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\nLDAP\u306e\u8a8d\u8a3c\u306fPassword lookups\u3068Authentication binds\u306e\u4e8c\u65b9\u5f0f\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u4eca\u56de\u306fPassword lookups\u65b9\u5f0f\u3092\u63a1\u7528\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n\u307e\u305a\u306f\u8a8d\u8a3c\u65b9\u5f0f\u306eSQL\u3092\u5916\u3057\u3001LDAP\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>conf.d\/10-auth.conf<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>!include auth-ldap.conf.ext\n#!include auth-sql.conf.ext<\/code><\/pre>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n\u30e6\u30fc\u30b6\u306euid\u3084gid\u7b49\u306fLDAP\u306b\u7121\u3044\u306e\u3067\u3001userdb\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>conf.d\/auth-ldap.conf.ext<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>userdb {\n  #...\n  default_fields = uid=vmb gid=vmb home=\/var\/mail\/vhosts\/%d\/%n quota_rule=*:storage=100M<\/code><\/pre>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\nauth-ldap.conf.ext\u5185\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3001args = \/etc\/dovecot\/dovecot-ldap.conf.ext\u306f\u30b5\u30f3\u30d7\u30eb\u304c\u6709\u308b\u7b48\u306a\u306e\u3067\u3001\u30b3\u30d4\u30fc\u3057\u3066\u7de8\u96c6\u3057\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/usr\/share\/doc\/dovecot\/example-config\/dovecot-ldap.conf.ext \/etc\/dovecot\/<\/code><\/pre>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/dovecot\/dovecot-ldap.conf.ext<\/li>\n<\/ul>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>uris = ldaps:\/\/virtual.localdomain:636\n# admin user dn\ndn = cn=Manager,dc=virtual,dc=localdomain\ndnpass = testpass\n# auth_bind\nauth_bind = no\n# suffix(base dn)\nbase = ou=people, dc=virtual, dc=localdomain\n# user\nuser_attrs = mail=user,userPassword=password\nuser_filter = (&amp;(objectClass=inetOrgPerson)(mail=%u))\n# pass\npass_attrs = mail=user,userPassword=password\npass_filter = (&amp;(objectClass=inetOrgPerson)(mail=%u))\ndefault_pass_scheme = MD5\n# iterator\niterate_attrs = mail=user\niterate_filter = (objectClass=inetOrgPerson)<\/code><\/pre>\n\n\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\ndn,dnpass\u306fvirtual.localdomain\u306e\u7ba1\u7406\u8005\u30ed\u30b0\u30a4\u30f3\u7528\u3067dnpass\u306f\u5e73\u6587\u3067\u8a18\u8f09\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<br>BIND DN\u3092\u4f7f\u3046\u306e\u306bauth_bind\u306fno\u3067\u3059\u3002\u3053\u306e\u8fba\u3084\u3084\u3053\u3057\u3044\u3002<br>attrs\u3084filter\u306f\u672a\u6307\u5b9a\u30c7\u30d5\u30a9\u30eb\u30c8\u3067posixUser\u7528\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001virtual\u74b0\u5883\u7528\u306b\u4e0a\u66f8\u304d\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u6709\u308a\u307e\u3059\u3002LDAP\u5c5e\u6027=Dovecot\u5024\u3068\u306a\u308b\u3088\u3046\u3067\u3059\u306e\u3067\u3001\u4f8b\u3067\u306fLDAP\u306email\u5c5e\u6027\u304cDovecot\u306b\u304a\u3051\u308buser\u540d\u306b\u5f53\u305f\u308b\u7b49\u306e\u6307\u5b9a\u3068\u306a\u308a\u307e\u3059\u3002\n<\/div>\n<\/div>\n\n\n\n\nLDAP\u8a8d\u8a3c\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002\n\n\n\n\n<pre class=\"wp-block-code\"><code>doveadm auth test yamada@virtual.localdomain<\/code><\/pre>\n\n\n\n\n\u3053\u308c\u3067LDAP\u306euserPassword\u3092\u5165\u529b\u3057\u3066\u3001auth succeeded \u304c\u51fa\u308c\u3070OK\u3067\u3059\u3002\n\n\n\n\n<h3 class=\"wp-block-heading\">Dovecot\u8a2d\u5b9a\u88dc\u8db3<\/h3>\n\n\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3082\u3057LDAP\u306eSSL\u8a3c\u660e\u66f8\u8a2d\u5b9a\u3067\u30a8\u30e9\u30fc\u3092\u4fee\u6b63\u51fa\u6765\u306a\u3044\u5834\u5408\u306f\u3001tls_require_cert = never\u3067crt\u3092\u78ba\u8a8d\u305b\u305a\u901a\u3059\u3088\u3046\u306b\u3082\u51fa\u6765\u307e\u3059\u3002<\/li>\n\n\n\n<li>tls = yes\u306b\u3059\u308b\u5834\u5408\u306f\u3001STARTTLS\u3092\u4f7f\u3044\u901a\u4fe1\u7d4c\u8def\u3067\u306a\u304f\u901a\u4fe1\u306e\u4e2d\u8eab\u3092\u6697\u53f7\u5316\u3059\u308b\u3088\u3046\u3067\u3001ldaps\u3092\u4f7f\u3048\u307e\u305b\u3093\uff08ldaps\u3060\u3068dovecot.log\u306bDon&#8217;t use both tls=yes and ldaps URI \u3068\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\uff09\u3002<\/li>\n\n\n\n<li>debug_level\u306b\u3064\u3044\u3066\u306f0-7\u3067\u3001\u305d\u308c\u305e\u308c\u30010:EMERGE, 1:ALERT, 2:CRIT, 3:ERR, 4:WARNING, 5:NOTICE, 6:INFO, 7:DEBUG\u307e\u3067\u3092\u51fa\u529b\u3059\u308b\u3088\u3046\u3067\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u5834\u5408\u3001\u901a\u5e38\u306f3\u3067\u5341\u5206\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n\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%2F6977&#038;t=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6977&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B\" 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%2F6977&#038;text=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B\" 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%2F6977&#038;title=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B\" 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=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F6977\" 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=%E3%83%A1%E3%83%BC%E3%83%AB%E3%82%B5%E3%83%BC%E3%83%90%E3%81%A7LDAP%E3%82%92%E5%88%A9%E7%94%A8%E3%81%99%E3%82%8B&#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%2F6977\" 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>\u524d\u56de\u306eLDAP\u8a2d\u5b9a\u5f8c\u306b\u3001Postfix\u3068Dovecot\u3067LDAP\u306e\u30e6\u30fc\u30b6\u3092\u8a8d\u8a3c\u3057\u307e\u3059\u3002\u30e1\u30fc\u30eb\u306e\u74b0\u5883\u306f\u3001\u4ee5\u524d\u66f8\u3044\u305f\u8a18\u4e8b\u306e\u8a2d\u5b9a\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u5f62\u3068\u3057\u307e\u3059\u3002<\/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-6977","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6977","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=6977"}],"version-history":[{"count":32,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6977\/revisions"}],"predecessor-version":[{"id":7011,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/6977\/revisions\/7011"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=6977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=6977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=6977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}