{"id":286,"date":"2014-12-20T19:16:32","date_gmt":"2014-12-20T10:16:32","guid":{"rendered":"http:\/\/yokensaka.com\/centos\/?p=286"},"modified":"2015-01-04T20:42:03","modified_gmt":"2015-01-04T11:42:03","slug":"centos7-dovecot%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"http:\/\/yokensaka.com\/centos\/?p=286","title":{"rendered":"CentOS 7 dovecot\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u25a0dovecot\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre>[root@server1 ~]# yum -y install dovecot\r\n\u8aad\u307f\u8fbc\u3093\u3060\u30d7\u30e9\u30b0\u30a4\u30f3:fastestmirror, langpacks, priorities\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.riken.jp\r\n * centosplus: mirrors.btte.net\r\n * epel: ftp.cuhk.edu.hk\r\n * extras: ftp.riken.jp\r\n * rpmforge: ftp.kddilabs.jp\r\n * updates: mirrors.btte.net\r\n45 packages excluded due to repository priority protections\r\n\u4f9d\u5b58\u6027\u306e\u89e3\u6c7a\u3092\u3057\u3066\u3044\u307e\u3059\r\n--> \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\r\n---> \u30d1\u30c3\u30b1\u30fc\u30b8 dovecot.x86_64 1:2.2.10-4.el7_0.1 \u3092 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\r\n--> \u4f9d\u5b58\u6027\u89e3\u6c7a\u3092\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002\r\n\r\n\u4f9d\u5b58\u6027\u3092\u89e3\u6c7a\u3057\u307e\u3057\u305f\r\n\r\n====================================================================================================\r\n Package             \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30fc   \u30d0\u30fc\u30b8\u30e7\u30f3                        \u30ea\u30dd\u30b8\u30c8\u30ea\u30fc         \u5bb9\u91cf\r\n====================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d:\r\n dovecot             x86_64             1:2.2.10-4.el7_0.1                updates             3.2 M\r\n\r\n\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u306e\u8981\u7d04\r\n====================================================================================================\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb  1 \u30d1\u30c3\u30b1\u30fc\u30b8\r\n\r\n\u7dcf\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5bb9\u91cf: 3.2 M\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5bb9\u91cf: 9.7 M\r\nDownloading packages:\r\ndovecot-2.2.10-4.el7_0.1.x86_64.rpm                                          | 3.2 MB  00:00:00\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d          : 1:dovecot-2.2.10-4.el7_0.1.x86_64                                   1\/1\r\n  \u691c\u8a3c\u4e2d                  : 1:dovecot-2.2.10-4.el7_0.1.x86_64                                   1\/1\r\n\r\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb:\r\n  dovecot.x86_64 1:2.2.10-4.el7_0.1\r\n\r\n\u5b8c\u4e86\u3057\u307e\u3057\u305f!<\/pre>\n<p>\u25a0dovecot\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<\/p>\n<pre>[root@server1 ~]# vi \/etc\/dovecot\/dovecot.conf\r\nProtocols we want to be serving.\r\n#protocols = imap pop3 lmtp\r\n\u2193\r\nprotocols = imap pop3 lmtp\u3000\u2190\u3000#\u3092\u5916\u3059\r\n# Space separated list of trusted network ranges. Connections from these\r\n# IPs are allowed to override their IP addresses and ports (for logging and\r\n# for authentication checks). disable_plaintext_auth is also ignored for\r\n# these networks. Typically you'd specify your IMAP proxy servers here.\r\n#login_trusted_networks =\r\ndisable_plaintext_auth = no\u3000\u2190\u3000\u30d7\u30ec\u30a4\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u8a8d\u8a3c\uff08\u8ffd\u8a18\uff09\r\n\r\n\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u683c\u7d0d\u5f62\u5f0f\u3092Maildir\u5f62\u5f0f\u3068\u3059\u308b\r\n[root@server1 ~]# vi \/etc\/dovecot\/conf.d\/10-mail.conf\r\n#   mail_location = maildir:~\/Maildir\r\n#   mail_location = mbox:~\/mail:INBOX=\/var\/mail\/%u\r\n#   mail_location = mbox:\/var\/mail\/%d\/%1n\/%n:INDEX=\/var\/indexes\/%d\/%1n\/%n\r\n#\r\n# <doc\/wiki\/MailLocation.txt>\r\n#\r\n#mail_location =\r\n\u2193\r\nmail_location = maildir:~\/Maildir\u3000\u2190\u3000#\u3092\u5916\u3057 maildir:~\/Maildir\u3092\u8ffd\u8a18<\/pre>\n<p>\u25a0dovecot\u306e\u8d77\u52d5<\/p>\n<pre>[root@server1 ~]# systemctl start dovecot<\/pre>\n<p>\u25a0dovecot\u306e\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<\/p>\n<pre>[root@server1 ~]# systemctl enable dovecot\r\nln -s '\/usr\/lib\/systemd\/system\/dovecot.service' '\/etc\/systemd\/system\/multi-user.target.wants\/dovecot.service'<\/pre>\n<p>POP\/IMAP\u30b5\u30fc\u30d0\u3092\u4f7f\u3046\u306b\u306f\u3001\u30eb\u30fc\u30bf\u30fc\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u3067\u3001110\u756a(POP\u306e\u5834\u5408)\u307e\u305f\u306f143\u756a(IMAP\u306e\u5834\u5408)\u306e\u30dd\u30fc\u30c8\u3092\u958b\u3051\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25a0dovecot\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb [root@server1 ~]# yum -y &hellip; <a href=\"http:\/\/yokensaka.com\/centos\/?p=286\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-286","post","type-post","status-publish","format-standard","hentry","category-popimapdovecot"],"_links":{"self":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=286"}],"version-history":[{"count":4,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":445,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=\/wp\/v2\/posts\/286\/revisions\/445"}],"wp:attachment":[{"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/yokensaka.com\/centos\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}