{"id":38,"date":"2012-08-05T21:49:26","date_gmt":"2012-08-05T12:49:26","guid":{"rendered":"http:\/\/www.very-cute.net\/wp\/?p=38"},"modified":"2012-08-06T21:19:42","modified_gmt":"2012-08-06T12:19:42","slug":"dovecot1vs2change","status":"publish","type":"post","link":"https:\/\/www.very-cute.net\/wp\/38\/","title":{"rendered":"dovecot ver.1\u7cfb\u30682\u7cfb\u306e\u9055\u3044"},"content":{"rendered":"<p>CentOS\/RHEL\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePOP3\/IMAP4\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc dovecot \u304c\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3042\u308b\u65e5 yum update \u3067OS\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3059\u308b\u3068\u3001dovecot \u304c\u30d0\u30fc\u30b8\u30e7\u30f3 1.x\u304b\u3089 2.0 \u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3001\u3068\u3093\u3067\u3082\u306a\u3044\u3053\u3068\u306b\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3001\u69cb\u6210\u304c\u5909\u308f\u3063\u305f\u306e\u3067\u3059\u3002<br \/>\n\u4eca\u307e\u3067\uff11\u3064\u3060\u3063\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u304c\u5897\u3048\u3001\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u306b\u7528\u9014\u5225\u306b\u914d\u7f6e\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u4f55\u306e\u8a2d\u5b9a\u3092\u66f8\u304f\u304b\u4ed5\u69d8\u304c\u304c\u3089\u3063\u3068\u5909\u308f\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<br \/>\n\u7126\u308a\u307e\u3059\u3002\u3053\u3046\u3044\u3046\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f\u3067\u304d\u308c\u3070\u6b62\u3081\u3066\u6b32\u3057\u3044\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u3053\u306b\u3001\u30d0\u30fc\u30b8\u30e7\u30f31\u7cfb\u30682\u7cfb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u9055\u3044\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n<h2>\u25a0 dovecot 1.x<\/h2>\n<h3>(1) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre># yum install dovecot<\/pre>\n<h3>(2) \u30d5\u30a1\u30a4\u30eb\u69cb\u6210<\/h3>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\uff11\u3064\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre>\/etc\/dovecot.conf<\/pre>\n<p><!--more--><\/p>\n<h3>(3) \u8a2d\u5b9a<\/h3>\n<p>\/etc\/dovecot.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nprotocols = imap imaps pop3 pop3s\u3000\u2190\u3000\u30c7\u30d5\u30a9\u30eb\u30c8\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\r\n\r\nlogin_process_size = 64 \u2190 x86_64\u306e\u5834\u5408\r\n\r\nmail_location = maildir:~\/Maildir\u3000\u2190\u3000\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092Maildir\u5f62\u5f0f\u306b\r\n\r\nprotocol pop3 {\r\n  pop3_uidl_format = %08Xu%08Xv\r\n}\r\n\r\nauth default {\r\n  mechanisms = plain login\r\n\r\n  \u30fb\u30fb\u30fb\r\n\r\n  #Postfix SMPT\u8a8d\u8a3c \u306bdovecot-sasl \u3092\u4f7f\u3046\u5834\u5408\r\n  socket listen {\r\n    client {\r\n      path = \/var\/spool\/postfix\/private\/auth\r\n      mode = 0660\r\n      user = postfix\r\n      group = postfix\r\n    }\r\n  }\r\n\r\n}\r\n<\/pre>\n<p>\u8d77\u52d5\u30fb\u7d42\u4e86\u30fb\u518d\u8d77\u52d5<\/p>\n<pre># \/etc\/init.d\/dovecot start\r\n# \/etc\/init.d\/dovecot stop\r\n# \/etc\/init.d\/dovecot restart<\/pre>\n<h2>\u25a0 dovecot 2.x<\/h2>\n<h3>(1) \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<pre>\r\n# yum install dovecot\r\n\uff08\u30d0\u30fc\u30b8\u30e7\u30f3 1.x \u3068\u540c\u3058\uff09\r\n<\/pre>\n<h3>(2) \u30d5\u30a1\u30a4\u30eb\u69cb\u6210<\/h3>\n<p>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u8907\u6570\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre>\/etc\/dovecot\r\n\tdovecot.conf \uff08\u4e3b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff09\r\n\r\n\/etc\/dovecot\/conf.d\r\n\t10-auth.conf   ..... (\u8a8d\u8a3c\u3001mechanisms \u306b\u95a2\u3059\u308b\u8a2d\u5b9a)\r\n\t10-director.conf\r\n\t10-logging.conf\r\n\t10-mail.conf  ...... (\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306e\u8a2d\u5b9a)\r\n\t10-master.conf ..... (Postfix SMPT\u8a8d\u8a3c\u306e\u8a2d\u5b9a)\r\n\t10-ssl.conf\r\n\t15-lda.conf\r\n\t20-imap.conf\r\n\t20-lmtp.conf\r\n\t20-pop3.conf  ...... (UIDL\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u8a2d\u5b9a)\r\n\t90-acl.conf\r\n\t90-plugin.conf\r\n\t90-quota.conf\r\n\tauth-checkpassword.conf.ext\r\n\tauth-deny.conf.ext\r\n\tauth-ldap.conf.ext\r\n\tauth-master.conf.ext\r\n\tauth-passwdfile.conf.ext\r\n\tauth-sql.conf.ext\r\n\tauth-static.conf.ext\r\n\tauth-system.conf.ext\r\n\tauth-vpopmail.conf.ext<\/pre>\n<p>\u4e3b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u901a\u5e38\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3088\u304f\u3001conf.d\u4e0b\u306e\uff14\u3064\u3092\u5c11\u3057\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h3>(3) \u8a2d\u5b9a<\/h3>\n<p>\/etc\/dovecot\/dovecot.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#protocols = imap pop3 lmtp \u2190\u3000\u30c7\u30d5\u30a9\u30eb\u30c8\u3002\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\r\n<\/pre>\n<p>\/etc\/dovecot\/conf.d\/10-mail.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nmail_location = maildir:~\/Maildir\u3000\u2190\u3000\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092Maildir\u5f62\u5f0f\u306b\r\n<\/pre>\n<p>\/etc\/dovecot\/conf.d\/20-pop3.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nprotocol pop3 {\r\n pop3_uidl_format = %08Xu%08Xv\r\n}\r\n<\/pre>\n<p>\/etc\/dovecot\/conf.d\/10-auth.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#disable_plaintext_auth = yes\r\ndisable_plaintext_auth = no\r\n\r\n#auth_mechanisms = plain\r\nauth_mechanisms = plain login\r\n<\/pre>\n<p>\u2605 Postfix SMPT\u8a8d\u8a3c \u306b dovecot-sasl \u3092\u4f7f\u3046\u5834\u5408<br \/>\n\/etc\/dovecot\/conf.d\/10-master.conf<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n # Postfix smtp-auth\r\n unix_listener \/var\/spool\/postfix\/private\/auth {\r\n    mode = 0666\r\n    user = postfix\r\n    group = postfix\r\n }\r\n<\/pre>\n<p>\u8d77\u52d5\u30fb\u7d42\u4e86\u30fb\u518d\u8d77\u52d5\u65b9\u6cd5\u306a\u3069\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3 1.x \u3068\u5909\u66f4\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS\/RHEL\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306ePOP3\/IMAP4\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc dovecot \u304c\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u307e\u3057\u305f\u3002 \u3042\u308b\u65e5 yum update \u3067OS\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u3059\u308b\u3068\u3001dovecot \u304c\u30d0\u30fc\u30b8 &hellip; <a href=\"https:\/\/www.very-cute.net\/wp\/38\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,5],"tags":[11,16,15],"_links":{"self":[{"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/posts\/38"}],"collection":[{"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":0,"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.very-cute.net\/wp\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}