{"id":8170,"date":"2020-05-12T19:27:50","date_gmt":"2020-05-12T10:27:50","guid":{"rendered":"https:\/\/y2tech.net\/blog\/?p=8170"},"modified":"2020-05-12T14:03:19","modified_gmt":"2020-05-12T05:03:19","slug":"dovecot-access-failure","status":"publish","type":"post","link":"https:\/\/y2tech.net\/blog\/inet\/dovecot-access-failure-8170\/","title":{"rendered":"CentOS \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067Dovecot\u306b\u4e0d\u5177\u5408\u767a\u751f"},"content":{"rendered":"<h3>Dovecot \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u30a8\u30e9\u30fc\u767a\u751f<\/h3>\r\n<br>\r\n<p>2\u301c3\u65e5\u524d\u3001CentOS 7 \u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8 [ &#8220;CentOS-7 (2003)&#8221;  April 27, 2020 ] \u3057\u305f\u3089\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306b\u542b\u307e\u308c\u3066\u3044\u305fDovecot\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3001Dovecot \u3067\u69cb\u7bc9\u3057\u305f IMAP \u30b5\u30fc\u30d0\u304b\u3089\u30e1\u30fc\u30eb\u304c\u53d6\u308a\u8fbc\u3081\u306a\u304f\u306a\u3063\u3066\u3044\u305f\uff0e<\/p>\r\n<br>\r\n<p>\u3053\u306e2\u301c3\u65e5\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u306e\u3067\u304a\u304b\u3057\u3044\u306a\u3068\u601d\u3044\u3001\u5916\u90e8\u304b\u3089\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u9001\u3063\u3066\u307f\u305f\u304c\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30e9\u30fc\u30bd\u30d5\u30c8\u4e0a\u3067\u306f\u30e1\u30fc\u30eb\u306f\u898b\u3064\u304b\u3089\u306a\u3044\uff0e\u30e1\u30fc\u30e9\u306f\u7279\u306b\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u5410\u3044\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u4e0d\u5be9\u306b\u601d\u3063\u3066\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u5074\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u521d\u3081\u3066Dovecot\u5074\u306e\u30a8\u30e9\u30fc\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u3063\u305f\uff0e<\/p>\r\n<br>\r\n<p>Dovecot\u306e\u30ed\u30b0\u3067\u306f\u3001<br>\r\n<pre><code class=\"language-textile\">\r\nMay 12 12:05:46 imap(xxxxxxxx): Info: namespace configuration error: inbox=yes namespace missing in=0 out=366\r\nMay 12 12:05:46 imap-login: Info: Login: user=<xxxxxxxx>, method=PLAIN, rip=xxx.yyy.zzz.214, lip=aaa.bbb.ccc.183, mpid=1429, TLS, session=<68puvWqljM7bdd3W>\r\nMay 12 12:05:46 imap(xxxxxxxx): Error: namespace configuration error: inbox=yes namespace missing\r\nMay 12 12:05:46 imap(xxxxxxxx): Info: namespace configuration error: inbox=yes namespace missing in=0 out=366\r\nMay 12 12:05:47 imap-login: Info: Login: user=<xxxxxxxx>, method=PLAIN, rip=xxx.yyy.zzz.214, lip=aaa.bbb.ccc.183, mpid=1431, TLS, session=<uk1zvWqljc7bdd3W>\r\n...\r\n<\/code><\/pre>\r\n<br>\r\n\u3069\u3046\u3084\u3089 &#8220;inbox&#8221; \u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9 \u304c\u7121\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u306e\u3088\u3046\u3060\uff0e<a href=\"https:\/\/wiki2.dovecot.org\/Upgrading\/2.1\" rel=\"noopener noreferrer\" target=\"_blank\">Dovecot Wiki<\/a>\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001V2.0 \u2192 V2.1 \u3078\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u3001&#8221;15-mailboxes.conf&#8221; \u3068\u3044\u3046\u30b3\u30f3\u30d5\u30a3\u30b0\u30d5\u30a1\u30a4\u30eb\u304c\u8ffd\u52a0\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u306e\u4e2d\u3067&#8221;inbox&#8221; \u3068\u3044\u3046\u30cd\u30fc\u30e0\u30b9\u30da\u30fc\u30b9\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u5171\u306b\u3001&#8221;inbox=yes&#8221; \u3068\u3044\u3046\u8a18\u8f09\u304c\u5fc5\u8981\u3068\u306e\u3053\u3068\u3060\uff0e<\/p>\r\n<br>\r\n<p>\u3053\u306e &#8220;15-mailboxes.conf&#8221; \u3068\u3044\u3046\u65b0\u3057\u3044\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u306f\u3001<a href=\"https:\/\/tools.ietf.org\/html\/rfc6154\" rel=\"noopener noreferrer\" target=\"_blank\">RFC6154 &#8220;IMAP LIST Extension for Special-Use Mailboxes&#8221; <\/a>\u306b\u57fa\u3065\u3044\u305f\u62e1\u5f35\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3001\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u308f\u306a\u3044\u306e\u3067\u3042\u308c\u3070 Dovecot 2.1 \u4ee5\u4e0a\u3067\u306f\u3001\u5358\u306b\u3053\u306e &#8220;15-mailboxes.conf&#8221; \u305d\u306e\u3082\u306e\u3092\u524a\u9664\u3057\u3066\u69cb\u308f\u306a\u3044\u3068\u306e\u3053\u3068\u306a\u306e\u3067\u3001&#8221;15-mailboxes.conf&#8221;\u3092\u524a\u9664\u3057\u3066\u3057\u307e\u3046\u306e\u304c\u4e00\u756a\u7c21\u5358\u306a\u89e3\u6c7a\u65b9\u6cd5\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<p>\u56e0\u307f\u306b\u3001&#8221;\/etc\/dovecot\/conf.d\/15-mailboxes.conf&#8221; \u306e\u8a2d\u5b9a\u3092\u5f04\u308b\u5834\u5408\u306f\u3001 &#8220;inbox=yes&#8221; \u3092 &#8221; namespace inbox { } &#8221; \u306e\u4e2d\u306b\u8ffd\u8a18\u3059\u308c\u3070\u826f\u3044\u3060\u308d\u3046\uff0e<\/p>\r\n<br>\r\n<pre><code class=\"language-textile\">\r\n##\r\n## Mailbox definitions\r\n##\r\n\r\n# Each mailbox is specified in a separate mailbox section. The section name\r\n# specifies the mailbox name. If it has spaces, you can put the name\r\n# \"in quotes\". These sections can contain the following mailbox settings:\r\n#\r\n# auto:\r\n#   Indicates whether the mailbox with this name is automatically created\r\n#   implicitly when it is first accessed. The user can also be automatically\r\n#   subscribed to the mailbox after creation. The following values are\r\n#   defined for this setting:\r\n# \r\n#     no        - Never created automatically.\r\n#     create    - Automatically created, but no automatic subscription.\r\n#     subscribe - Automatically created and subscribed.\r\n#  \r\n# special_use:\r\n#   A space-separated list of SPECIAL-USE flags (RFC 6154) to use for the\r\n#   mailbox. There are no validity checks, so you could specify anything\r\n#   you want in here, but it's not a good idea to use flags other than the\r\n#   standard ones specified in the RFC:\r\n#\r\n#     \\All      - This (virtual) mailbox presents all messages in the\r\n#                 user's message store. \r\n#     \\Archive  - This mailbox is used to archive messages.\r\n#     \\Drafts   - This mailbox is used to hold draft messages.\r\n#     \\Flagged  - This (virtual) mailbox presents all messages in the\r\n#                 user's message store marked with the IMAP \\Flagged flag.\r\n#     \\Junk     - This mailbox is where messages deemed to be junk mail\r\n#                 are held.\r\n#     \\Sent     - This mailbox is used to hold copies of messages that\r\n#                 have been sent.\r\n#     \\Trash    - This mailbox is used to hold messages that have been\r\n#                 deleted.\r\n#\r\n# comment:\r\n#   Defines a default comment or note associated with the mailbox. This\r\n#   value is accessible through the IMAP METADATA mailbox entries\r\n#   \"\/shared\/comment\" and \"\/private\/comment\". Users with sufficient\r\n#   privileges can override the default value for entries with a custom\r\n#   value.\r\n\r\n# NOTE: Assumes \"namespace inbox\" has been defined in 10-mail.conf.\r\nnamespace inbox {\r\n  # These mailboxes are widely used and could perhaps be created automatically:\r\n  mailbox Drafts {\r\n    special_use = \\Drafts\r\n  }\r\n  mailbox Junk {\r\n    special_use = \\Junk\r\n  }\r\n  mailbox Trash {\r\n    special_use = \\Trash\r\n  }\r\n\r\n  # For \\Sent mailboxes there are two widely used names. We'll mark both of\r\n  # them as \\Sent. User typically deletes one of them if duplicates are created.\r\n  mailbox Sent {\r\n    special_use = \\Sent\r\n  }\r\n  mailbox \"Sent Messages\" {\r\n    special_use = \\Sent\r\n  }\r\n\r\n##########  Added an \"inbox = yes\" definition.  [ May, 12th 2020 ]  ####################\r\n   inbox = yes\r\n########################################################################################\r\n\r\n  # If you have a virtual \"All messages\" mailbox:\r\n  #mailbox virtual\/All {\r\n  #  special_use = \\All\r\n  #  comment = All my messages\r\n  #}\r\n\r\n  # If you have a virtual \"Flagged\" mailbox:\r\n  #mailbox virtual\/Flagged {\r\n  #  special_use = \\Flagged\r\n  #  comment = All my flagged messages\r\n  #}\r\n}\r\n<\/code><\/pre>\r\n<br>\r\n<p>\u4eca\u56de\u306eCentOS 7\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u6570\u767e\u306b\u3082\u53ca\u3076\u5927\u898f\u6a21\u306a\u7269\u3060\u3063\u305f\u306e\u3067\u3001\u304b\u306a\u308a\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u308b\uff0e\u4eca\u56de\u306eOS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3067\u306f\u3001Dovecot\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30012.2.36 (1f10bfa63) \u306b\u66f4\u65b0\u3055\u308c\u3066\u3044\u305f\uff0eOS\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u5e7e\u3064\u3060\u3063\u305f\u304b\u306f\u5b9a\u304b\u3067\u306f\u7121\u3044\u304c\u3001Dovecot\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306fOS\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u524d\u306b\u304d\u3061\u3093\u3068\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304a\u3053\u3046\uff0e<\/p>\r\n<br>\r\n","protected":false},"excerpt":{"rendered":"\u3053\u306e2\u301c3\u65e5\u30e1\u30fc\u30eb\u304c\u5c4a\u304b\u306a\u3044\u306e\u3067\u304a\u304b\u3057\u3044\u306a\u3068\u601d\u3044\u3001\u5916\u90e8\u304b\u3089\u30c6\u30b9\u30c8\u30e1\u30fc\u30eb\u3092\u9001\u3063\u3066\u307f\u305f\u304c\u4f7f\u3063\u3066\u3044\u308b\u30e1\u30fc\u30e9\u30fc\u30bd\u30d5\u30c8\u4e0a\u3067\u306f\u30e1\u30fc\u30eb\u306f\u898b\u3064\u304b\u3089\u306a\u3044\uff0e\u30e1\u30fc\u30e9\u306f\u7279\u306b\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u5410\u3044\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u4e0d\u5be9\u306b\u601d\u3063\u3066\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u5074\u306e\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u521d\u3081\u3066Dovecot\u5074\u306e\u30a8\u30e9\u30fc\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u3063\u305f","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[7],"tags":[869,870],"class_list":["post-8170","post","type-post","status-publish","format-standard","hentry","category-inet","tag-dovecot","tag-v2-0-to-2-1"],"_links":{"self":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/8170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/comments?post=8170"}],"version-history":[{"count":3,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/8170\/revisions"}],"predecessor-version":[{"id":8179,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/posts\/8170\/revisions\/8179"}],"wp:attachment":[{"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/media?parent=8170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/categories?post=8170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/y2tech.net\/blog\/wp-json\/wp\/v2\/tags?post=8170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}