{"id":153,"date":"2013-08-06T12:00:00","date_gmt":"2013-08-06T03:00:00","guid":{"rendered":"https:\/\/jikoman.sin-cos.com\/blog\/?p=153"},"modified":"2013-08-06T12:00:00","modified_gmt":"2013-08-06T03:00:00","slug":"dti_6","status":"publish","type":"post","link":"https:\/\/jikoman.sin-cos.com\/blog\/2013\/08\/dti_6\/","title":{"rendered":"DTI\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\uff11\uff14 \u300c\u307e\u3060\u6765\u306a\u3044\u306d\u301c\u300d"},"content":{"rendered":"<p>POP3,IMAP\u30b5\u30fc\u30d0\u30fc\u3068\u306a\u308bDovecot\u3092\u5165\u308c\u3066\u307f\u308b\u3002<br>\n\u307e\u305a\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>$ sudo yum install dovecot<br>\n&nbsp;\uff1a\uff08\u8272\u3005\u8868\u793a\u3055\u308c\u3066\uff09<br>\nInstalled:<br>\n&nbsp; dovecot.x86_64 1:2.0.9-5.el6 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <\/p>\n<p>Complete!<br>\n\u5b8c\u4e86\u3002<\/p>\n<p>\u6b21\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3002<\/p>\n<div class=\"p1\">\n<p>$ sudo vi \/etc\/dovecot\/dovecot.conf\n<\/p><\/div>\n<div class=\"p1\">\nIPv4,IPv6\u306e\u4e21\u65b9\u306b\u5bfe\u5fdc\u3059\u308b\u306b\u306f\u3001<\/div>\n<div class=\"p1\">\n<p>listen = *, ::&nbsp;\n<\/p><\/div>\n<div class=\"p1\">\nIPv4\u306e\u307f\u306a\u3089\u3001<p><\/p>\n<p>listen = *\n<\/p><\/div>\n<div class=\"p1\">\nIMAP\u3068POP3\u306e\u4e21\u65b9\u306b\u5bfe\u5fdc\u3055\u305b\u308b\u306b\u306f\u3001<p><\/p>\n<p>protocols = imap pop3\n<\/p><\/div>\n<div class=\"p1\">\nLMTP (Local Mail Transfer Protocol\u3001RFC 2033 \u3067\u5b9a\u7fa9)\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u308b\u3051\u3069\u3001\u305d\u308c\u306f\u307e\u305f\u306e\u6a5f\u4f1a\u306b\u3002<\/div>\n<div class=\"p1\">\n<p>login_greeting = POP3 ready.\n<\/p><\/div>\n<div class=\"p1\">\n\u30cf\u30c3\u30ab\u30fc\u306e\u653b\u6483\u304b\u3089\u591a\u5c11\u5b88\u308c\u308b\u304b\u3082\u3002<br>\n\uff08\u3068\u8a00\u3044\u3064\u3064\u3001\u30d6\u30ed\u30b0\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u70b9\u3067\u3001\u3059\u3093\u3054\u3044\u8105\u5a01\u306a\u6c17\u304c\u3059\u308b\u3002\uff09<p><\/p>\n<p>\u6b21\u306b\u53d7\u3051\u4ed8\u3051\u308b\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3002<\/p><\/div>\n<div class=\"p1\">\n<p>$ sudo vi \/etc\/dovecot\/conf.d\/10-master.conf<br>\n\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u4e2d\u306e\u6b21\u306e\u7b87\u6240\u3092\u7de8\u96c6\u3057\u3088\u3046\u3002<\/p><\/div>\n<div class=\"p1\">\n<p>service imap-login {<br>\n&nbsp; inet_listener imap {<br>\n&nbsp; &nbsp; port = 143<br>\n&nbsp; }<br>\n&nbsp; inet_listener imaps {<br>\n&nbsp; &nbsp; port = 993<br>\n&nbsp; &nbsp; ssl = yes<br>\n&nbsp; }<br>\n}<\/p>\n<div>\n<p>service pop3-login {<br>\n&nbsp; inet_listener pop3 {<br>\n&nbsp; &nbsp; port = 110<br>\n&nbsp; }<br>\n&nbsp; inet_listener pop3s {<br>\n&nbsp; &nbsp; port = 995<br>\n&nbsp; &nbsp; ssl = yes<br>\n&nbsp; }<br>\n}\n<\/p><\/div>\n<div>\n<div class=\"p1\">\n\u30e1\u30fc\u30eb\u306e\u30d5\u30a9\u30eb\u30c0\u4f4d\u7f6e\u3092\u8a2d\u5b9a\u3059\u308b\u3002<p><\/p>\n<p>$ sudo vi \/etc\/dovecot\/conf.d\/10-mail.conf\n<\/p><\/div>\n<div class=\"p1\">\n\u958b\u3044\u305f\u3089\u3001\u6b21\u306e\u3088\u3046\u306b\u7d76\u5bfe\u30d1\u30b9\u3067\u6307\u5b9a\u3002<\/div>\n<div class=\"p1\" style=\"-webkit-text-stroke-width: 0px; color: black; font-family: 'Hiragino Kaku Gothic Pro'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;\">\n<p>mail_location = maildir:~\/Maildir<\/p>\n<div>\n\u7d9a\u3044\u3066SSL\u306e\u8a2d\u5b9a\u3002<\/div>\n<\/div>\n<\/div>\n<div>\n<p>$ sudo vi \/etc\/dovecot\/conf.d\/10-ssl.conf<\/p>\n<div>\n\u6b21\u306e\u90e8\u5206\u3092\u6709\u52b9\u306b\u3002<\/div>\n<p>ssl = yes<br>\n\u8a3c\u660e\u66f8\u306f\u3001\u3068\u308a\u3042\u3048\u305a\u5143\u3005\u5165\u3063\u3066\u3044\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u4f7f\u3063\u3066\u307f\u308b\u306e\u3067\u3001\u8a2d\u5b9a\u306e\u5909\u66f4\u306f\u306a\u3057\u3002<\/p><\/div>\n<\/div>\n<div class=\"p1\">\n<p>ssl_cert = &lt;\/etc\/pki\/dovecot\/certs\/dovecot.pem<br>\nssl_key = &lt;\/etc\/pki\/dovecot\/private\/dovecot.pem\n<\/p><\/div>\n<div>\n\u4ee5\u4e0a\u3067\u30e1\u30fc\u30eb\u53d7\u4fe1\u304c\u53ef\u80fd\u306b\u306a\u3063\u305f\u306f\u305a\u3002<\/div>\n<p>$ sudo service dovecot start<br>\n\u3068\u3001\u8d77\u52d5\u3057\u3066\u3001\u30e1\u30fc\u30e9\u30fc\u304b\u3089\u53d7\u4fe1\u3057\u3066\u307f\u308b\u3002<\/p>\n<p>POP3\u306e\u53d7\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\uff1a<br>\n&nbsp;mail.yourdomain.com<br>\n\u30dd\u30fc\u30c8\u756a\u53f7\uff1a995<br>\n\u30e6\u30fc\u30b6\u30fc\u540d\uff1aVPS\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u969b\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u540d<br>\n\u30d1\u30b9\u30ef\u30fc\u30c9\uff1aVPS\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u969b\u306b\u5229\u7528\u3057\u3066\u3044\u308b\u30d1\u30b9\u30ef\u30fc\u30c9<br>\n\u3042\u3068\u306f\u3001SSL\u3067\u306e\u63a5\u7d9a\u306b\u8a2d\u5b9a\u3002<\/p>\n<div>\n\u6700\u5f8c\u306b\u81ea\u52d5\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3002<\/div>\n<p>$ sudo chkconfig dovecot on<br>\n\u3088\u3057\uff01<\/p>\n\n\n<p><a href=\"https:\/\/px.a8.net\/svt\/ejp?a8mat=25VJAH+72TKGQ+1QFI+109XW1\" rel=\"nofollow\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"728\" height=\"90\" alt=\"\" src=\"https:\/\/www24.a8.net\/svt\/bgt?aid=130801769428&amp;wid=002&amp;eno=01&amp;mid=s00000008091006093000&amp;mc=1\"><\/a>\n<img loading=\"lazy\" decoding=\"async\" border=\"0\" width=\"1\" height=\"1\" src=\"https:\/\/www11.a8.net\/0.gif?a8mat=25VJAH+72TKGQ+1QFI+109XW1\" alt=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>POP3,IMAP\u30b5\u30fc\u30d0\u30fc\u3068\u306a\u308bDovecot\u3092\u5165\u308c\u3066\u307f\u308b\u3002 \u307e\u305a\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 $ sudo yum install dovecot &nbsp;\uff1a\uff08\u8272\u3005\u8868\u793a\u3055\u308c\u3066\uff09 Installed: &nbsp; doveco [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,130],"tags":[17,43],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-pc","category-130","tag-dti","tag-vps"],"_links":{"self":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/comments?post=153"}],"version-history":[{"count":0,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/media?parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/categories?post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jikoman.sin-cos.com\/blog\/wp-json\/wp\/v2\/tags?post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}