{"id":128,"date":"2006-12-25T17:29:11","date_gmt":"2006-12-25T08:29:11","guid":{"rendered":"http:\/\/popi.jp\/wp\/?p=128"},"modified":"2006-12-25T17:29:11","modified_gmt":"2006-12-25T08:29:11","slug":"","status":"publish","type":"post","link":"https:\/\/popi.jp\/wp\/?p=128","title":{"rendered":"dovecot"},"content":{"rendered":"<p>mbox\u304b\u3089maildir\u5f62\u5f0f\u3078\u79fb\u884c\u3059\u3079\u304fuw-imap\u3092dovecot\u3078\u5909\u66f4\u3057\u3066\u307f\u308b\u3002<br \/>\n<span style=\"font-size: 14pt;\">dovecot\u306e\u6e96\u5099<\/span><br \/>\n\u4e3b\u8981\u306a\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3060\u3051\u8ffd\u8a18\u3002(\u3046\u3061\u3067\u306f\u5916\u90e8\u304b\u3089\u306ePOP3\/IMAP4\u306f\u8a31\u53ef\u3057\u3066\u3044\u306a\u3044\u306e\u3067SSL\u306f\u6709\u52b9\u306b\u3057\u307e\u305b\u3093)<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n# .\/configure &#8211;with-pgsql &#8211;with-mysql<br \/>\n# make<br \/>\n# make install\n<\/div>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5834\u6240<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n\u672c\u4f53:\/usr\/local\/sbin<br \/>\n\u30b3\u30f3\u30d5\u30a3\u30b0:\/usr\/local\/etc<br \/>\n\u95a2\u9023\u30d5\u30a1\u30a4\u30eb:\/usr\/local\/libexec\/dovecot\n<\/div>\n<p>\/usr\/local\/etc\/dovecot-example.conf\u3092dovecot.conf\u306b\u30b3\u30d4\u30fc\u3057\u3066\u4fee\u6b63\u3002<br \/>\n\u5fc5\u8981\u306a\u6a5f\u80fd\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u89e3\u9664\u3057\u3001path\u3092\u3042\u308f\u305b\u308b\u3002<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n483c483<br \/>\n<   #login_executable = \/usr\/libexec\/dovecot\/imap-login\n---\n>   login_executable = \/usr\/local\/libexec\/dovecot\/imap-login<br \/>\n\u3053\u3093\u306a\u611f\u3058\u3067\u6de1\u3005\u3068\u3059\u3059\u3081\u308b\u3002<br \/>\nbase_dir = \/var\/run\/dovecot\/<br \/>\nlogin_executable = \/usr\/local\/libexec\/dovecot\/imap-login<br \/>\nmail_executable = \/usr\/local\/libexec\/dovecot\/imap<br \/>\nmail_plugin_dir = \/usr\/local\/lib\/dovecot\/imap<br \/>\nlogin_executable = \/usr\/local\/libexec\/dovecot\/pop3-login<br \/>\nmail_executable = \/usr\/local\/libexec\/dovecot\/pop3<br \/>\nmail_plugin_dir = \/usr\/local\/lib\/dovecot\/pop3<br \/>\nmail_plugin_dir = \/usr\/local\/lib\/dovecot\/lda<br \/>\nauth_socket_path = \/var\/run\/dovecot\/auth-master<br \/>\nauth_executable = \/usr\/local\/libexec\/dovecot\/dovecot-auth\n<\/div>\n<p>path\u4ee5\u5916\u3067\u8a2d\u5b9a\u3057\u305f\u306e\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\nprotocols = imap pop3<br \/>\ndisable_plaintext_auth = no<br \/>\nsyslog_facility = local3<br \/>\nssl_disable = yes<br \/>\nlogin_chroot = no<br \/>\nmail_location = maildir:~\/Maildir<br \/>\npop3_uidl_format = &#37;08Xv&#37;08Xu<br \/>\nmechanisms = plain login\n<\/div>\n<p>\u57fa\u672c\u7684\u306b\u5916\u90e8\u304b\u3089POP3\u3084IMAP4\u306f\u98db\u3093\u3067\u3053\u306a\u3044\u306e\u3067\u8a2d\u5b9a\u306f\u3042\u307e\u3042\u307e\u3067\u3059\u3002<br \/>\n\u3053\u306e\u304f\u3089\u3044\u3067\u3068\u308a\u3042\u3048\u305adovecot\u306e\u8a2d\u5b9a\u306f\u5b8c\u4e86\u3002<br \/>\n\u3042\u3068\u306f\u547c\u3079\u3070\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n# \/usr\/local\/sbin\/dovecot<br \/>\n# netstat -an\n<\/div>\n<p><span style=\"font-size: 14pt;\">\u30e6\u30fc\u30b6\u74b0\u5883\u306e\u79fb\u884c<\/span><br \/>\n\u5404\u30e6\u30fc\u30b6\u306ehomedir\u306bMaildir\u3092\u4f5c\u6210\u3057\u3066chown&#44;chmod\u3092\u5b9f\u65bd\u3002<br \/>\n\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f700\u306b\u8a2d\u5b9a\u3002<br \/>\nmb2md\u3092\u4f7f\u7528\u3057\u3066\/var\/mail\u914d\u4e0b\u306e\u5404\u30e6\u30fc\u30b6mbox\u3092homedir\/Maildir\u3078\u5c55\u958b\u3002<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n# mb2md.pl -s \/var\/mail\/\u30e6\u30fc\u30b6 -d \/export\/home\/\u30e6\u30fc\u30b6\/Maildir\n<\/div>\n<p>\u5404\u30db\u30fc\u30e0\u306eMaildir\/cur\/\u306b\u5206\u5272\u3055\u308c\u3066\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3002<br \/>\ndovecot\u3067\u8aad\u3081\u308b\u4e8b\u3092\u78ba\u8a8d<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\n# telnet localhost 110<br \/>\nTrying 127.0.0.1&#8230;<br \/>\nConnected to localhost.<br \/>\nEscape character is &#039;^]&#039;.<br \/>\n+OK Dovecot ready.<br \/>\nuser \u3086\u30fc\u3056\u540d<br \/>\n+OK<br \/>\npass \u3071\u3059\u308f\u30fc\u3069<br \/>\n+OK Logged in.<br \/>\nstat<br \/>\n+OK 160 886560<br \/>\nquit<br \/>\n+OK Logging out.<br \/>\nConnection to localhost closed by foreign host.\n<\/div>\n<p>\u4e00\u5fdc\u3046\u3061\u306e\u74b0\u5883\u3067\u306f\u554f\u984c\u306f\u7121\u304f\u5909\u63db\u51fa\u6765\u305f\u3054\u69d8\u5b50\u3002<br \/>\n\u3061\u3087\u3063\u3068UIDL\u307e\u308f\u308a\u3092\u4f55\u3082\u6307\u5b9a\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u306e\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u91cd\u8907\u53d7\u4fe1\u3057\u3061\u3083\u3044\u307e\u3057\u305f\u3051\u3069\u3001\u307e\u3041\u3001\u3044\u305f\u3057\u304b\u305f\u306a\u3057\u3002<br \/>\npostfix\u306emain.cf\u3092mbox\u304b\u3089maildir\u3078\u66f8\u304d\u63db\u3048\u3002<\/p>\n<div class=\"rounded\" style=\"border-color:red;\">\nhome_mailbox = Maildir\/\n<\/div>\n<p>\u65b0\u7740\u30e1\u30fc\u30eb\u304chomedir\/Maildir\u3078\u5165\u3063\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3002<br \/>\n\u305d\u306e\u4ed6SASLAUTH\u3082SquirrelMail\u306e\u8a8d\u8a3c\u3082\u554f\u984c\u306a\u3057\u3002<br \/>\n\u6700\u5f8c\u306bmanifest\u3092\u4f5c\u6210\u3057\u3066SMF\u767b\u9332\u3057\u3066\u5b8c\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mbox\u304b\u3089maildir\u5f62\u5f0f\u3078\u79fb\u884c\u3059\u3079\u304fuw-imap\u3092dovecot\u3078\u5909\u66f4\u3057\u3066\u307f\u308b\u3002 dovecot\u306e\u6e96\u5099 \u4e3b\u8981\u306a\u30b3\u30f3\u30d1\u30a4\u30eb\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u308c\u3060\u3051\u8ffd\u8a18\u3002(\u3046\u3061\u3067\u306f\u5916\u90e8\u304b\u3089\u306ePOP3\/I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[6],"tags":[24],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/128"}],"collection":[{"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=128"}],"version-history":[{"count":0,"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=\/wp\/v2\/posts\/128\/revisions"}],"wp:attachment":[{"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/popi.jp\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}