{"id":3875,"date":"2015-07-22T13:49:06","date_gmt":"2015-07-22T04:49:06","guid":{"rendered":"http:\/\/www.lancard.com\/blog\/?p=3875"},"modified":"2025-03-12T11:28:05","modified_gmt":"2025-03-12T02:28:05","slug":"roundcube%e7%94%a8%e3%81%abcentos%e3%81%aepostfixdovecot%e3%81%a7%e7%b0%a1%e5%8d%98%e3%81%aa%e3%83%86%e3%82%b9%e3%83%88%e7%92%b0%e5%a2%83%e3%82%92%e4%bd%9c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.lancard.com\/blog\/2015\/07\/22\/roundcube%e7%94%a8%e3%81%abcentos%e3%81%aepostfixdovecot%e3%81%a7%e7%b0%a1%e5%8d%98%e3%81%aa%e3%83%86%e3%82%b9%e3%83%88%e7%92%b0%e5%a2%83%e3%82%92%e4%bd%9c%e3%82%8b\/","title":{"rendered":"RoundCube\u7528\u306bCentOS\u306epostfix+dovecot\u3067\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u4f5c\u308b"},"content":{"rendered":"<p>RoundCube\u306f\u8a2d\u5b9a\u51fa\u6765\u305f\u3051\u3069\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u304c\u8a2d\u5b9a\u51fa\u6765\u306a\u304f\u3066\u30c6\u30b9\u30c8\u51fa\u6765\u306a\u3044\u3002<br \/>\nlocalhost\u5185\u3067\u3084\u308a\u53d6\u308a\u3059\u308b\u7a0b\u5ea6\u3067\u5341\u5206\u3060\u3051\u3069\u30fb\u30fb\u30fb\u305d\u3093\u306a\u4eba\u3078\u3002<\/p>\n<p>\u5b9f\u9a13\u3057\u305f\u306e\u306fCentOS6\u3067\u3059\u3002<br \/>\nDovecot\u3082Postfix\u3082\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u3092\u5229\u7528\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u8a2d\u5b9a\u306f1,2\u9805\u76ee\u3067\u6e08\u307f\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<ul>\n<li>selinux\u306f\u554f\u984c\u304c\u6709\u308c\u3070\u5909\u66f4\u3057\u307e\u3059\u3002<\/li>\n<li>iptables\u306fimap\u30dd\u30fc\u30c8\u3092\u901a\u3057\u3001smtp\u30dd\u30fc\u30c8\u3082\u5fc5\u8981\u306a\u3089\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>\n<p>\/etc\/hosts\u306elocalhost.localdomain\u304c\u6d88\u3048\u3066\u3044\u308b\u5834\u5408\u306f\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u307e\u305a\u306fpostfix\u3068dovecot\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ul>\n<pre lang=\"bash\">\nyum install postfix dovecot\n<\/pre>\n<ul>\n<li>\/etc\/postfix\/main.cf \u306emyhostname\u3068home_mailbox\u3092\u7de8\u96c6<\/li>\n<\/ul>\n<pre lang=\"bash\">\nmyhostname = localhost.localdomain\nhome_mailbox = Maildir\/ # \u30b5\u30f3\u30d7\u30eb\u53c2\u7167\n<\/pre>\n<ul>\n<li>\/etc\/dovecot\/conf.d\/10-mail.conf \u306email_location\u3092\u7de8\u96c6<\/li>\n<\/ul>\n<pre lang=\"bash\">\nmail_location = maildir:~\/Maildir # \u30b5\u30f3\u30d7\u30eb\u53c2\u7167\n<\/pre>\n<ul>\n<li>dovecot\u3068postfix\u3092\u3001chkconfig\u3067on\u306b\u3057\u3066\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre lang=\"bash\">\nchkconfig postfix on\nchkconfig dovecot on\nservice postfix start # \u65e2\u306b\u8d77\u52d5\u3057\u3066\u305f\u3089restart\nservice dovecot start # \u65e2\u306b\u8d77\u52d5\u3057\u3066\u305f\u3089restart\n<\/pre>\n<ul>\n<li>RoundCube\u306econfig\/config.inc.php\u306edefault_host, default_port, smtp_server\u3092\u8a2d\u5b9a\u3002<\/li>\n<\/ul>\n<pre lang=\"php\">\n$config['default_host'] = 'localhost.localdomain';\n$config['default_port'] = 143; # \u8a2d\u5b9a\u3057\u3066\u306a\u3051\u308c\u3070\u305d\u306e\u307e\u307e\u3067\u3082OK\n$config['smtp_server'] = ''; # \u30ed\u30fc\u30ab\u30eb\u306e\u30b3\u30de\u30f3\u30c9\u3067mail\u3059\u308b\n<\/pre>\n<ul>\n<li>\u5fc5\u8981\u306a\u3089\u30ed\u30b0\u30a4\u30f3\u7528\u306e\u30e6\u30fc\u30b6\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\nDovecot\u306froot\u3067\u306f\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u3044\u306e\u3067\u3001root\u4ee5\u5916\u3067\u3002<br \/>\n\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u306a\u3089\u5fc5\u305a\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre lang=\"bash\">\nuseradd roundcube\npasswd roundcube\n# roundcube\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\uff08Confirm\u542b\u3081\u4e8c\u56de\uff09\n<\/pre>\n<ul>\n<li>\n<p>\u4e0a\u8a18\u3067\u8ffd\u52a0\u3057\u305f\u30e6\u30fc\u30b6\u3067RoundCube\u3078\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\uff08\u30e6\u30fc\u30b6\u540d\u306e\u5f8c\u306b@localhost.localdomain\u3092\u4ed8\u3051\u308b\u5fc5\u8981\u306f\u6709\u308a\u307e\u305b\u3093\uff09\u3002<br \/>\n\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u3051\u308c\u3070\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u9593\u9055\u3044\u304c\u306a\u3044\u304b\u3001\/var\/log\/maillog\u306b\u4f55\u304b\u51fa\u3066\u3044\u306a\u3044\u304b\u3001<br \/>\ntelnet\u3084nmap\u3067localhost.localdomain\u306e143\u30dd\u30fc\u30c8\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u305f\u3089\u3001\u81ea\u5206\u5b9b\u306b roundcube@localhost.localdomain \u3078\u9001\u4fe1\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u30a8\u30e9\u30fc\u304c\u8fd4\u3063\u3066\u6765\u305f\u308a\u3001\u5c4a\u304b\u306a\u3051\u308c\u3070\/var\/log\/maillog\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\nMaildir\u306e\u4f4d\u7f6e\u304c\u305a\u308c\u3066\u3044\u305f\u308a\u3001\u66f8\u304d\u8fbc\u307f\u4e0d\u53ef\u3060\u3068\u3001\u5c4a\u304b\u306a\u304b\u3063\u305f\u308a\u3057\u307e\u3059\u3002<br \/>\n\u5909\u306b\u3044\u3058\u3063\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u308b\u4eba\u306f\u3001\u4e00\u5ea6\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u65b9\u304c\u826f\u3044\u304b\u3082\u3067\u3059\u3002<\/p>\n<\/li>\n<\/ul>\n<a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-facebook nolightbox\" data-provider=\"facebook\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Facebook\" href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875&#038;t=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B&#038;s=100&#038;p&#091;url&#093;=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875&#038;p&#091;images&#093;&#091;0&#093;=&#038;p&#091;title&#093;=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"Facebook\" title=\"Share on Facebook\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/facebook.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-twitter nolightbox\" data-provider=\"twitter\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Twitter\" href=\"http:\/\/twitter.com\/share?url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875&#038;text=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"twitter\" title=\"Share on Twitter\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/twitter.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-linkedin nolightbox\" data-provider=\"linkedin\" target=\"_blank\" rel=\"nofollow\" title=\"Share on Linkedin\" href=\"https:\/\/www.linkedin.com\/shareArticle?mini=true&#038;url=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875&#038;title=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"linkedin\" title=\"Share on Linkedin\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/linkedin.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-tumblr nolightbox\" data-provider=\"tumblr\" target=\"_blank\" rel=\"nofollow\" title=\"Share on tumblr\" href=\"https:\/\/tumblr.com\/share?s=&#038;v=3&#038;t=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B&#038;u=https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px;margin-right:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"tumblr\" title=\"Share on tumblr\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/tumblr.png\" \/><\/a><a class=\"synved-social-button synved-social-button-share synved-social-size-24 synved-social-resolution-single synved-social-provider-mail nolightbox\" data-provider=\"mail\" rel=\"nofollow\" title=\"Share by email\" href=\"mailto:?subject=RoundCube%E7%94%A8%E3%81%ABCentOS%E3%81%AEpostfix%2Bdovecot%E3%81%A7%E7%B0%A1%E5%8D%98%E3%81%AA%E3%83%86%E3%82%B9%E3%83%88%E7%92%B0%E5%A2%83%E3%82%92%E4%BD%9C%E3%82%8B&#038;body=%E3%82%B7%E3%82%A7%E3%82%A2%E3%81%99%E3%82%8B%EF%BC%9A:%20https%3A%2F%2Fwww.lancard.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F3875\" style=\"font-size: 0px;width:24px;height:24px;margin:0;margin-bottom:5px\"><img loading=\"lazy\" decoding=\"async\" alt=\"mail\" title=\"Share by email\" class=\"synved-share-image synved-social-image synved-social-image-share\" width=\"24\" height=\"24\" style=\"display: inline;width:24px;height:24px;margin: 0;padding: 0;border: none;box-shadow: none\" src=\"https:\/\/www.lancard.com\/blog\/wp-content\/plugins\/social-media-feather\/synved-social\/image\/social\/regular\/48x48\/mail.png\" \/><\/a>","protected":false},"excerpt":{"rendered":"<p>RoundCube\u306f\u8a2d\u5b9a\u51fa\u6765\u305f\u3051\u3069\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u304c\u8a2d\u5b9a\u51fa\u6765\u306a\u304f\u3066\u30c6\u30b9\u30c8\u51fa\u6765\u306a\u3044\u3002 localhost\u5185\u3067\u3084\u308a\u53d6\u308a\u3059\u308b\u7a0b\u5ea6\u3067\u5341\u5206\u3060\u3051\u3069\u30fb\u30fb\u30fb\u305d\u3093\u306a\u4eba\u3078\u3002 \u5b9f\u9a13\u3057\u305f\u306e\u306fCentOS6\u3067\u3059\u3002 Dovecot\u3082Postfix\u3082\u30c7 [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,1],"tags":[],"class_list":["post-3875","post","type-post","status-publish","format-standard","hentry","category-roundcube","category-1"],"_links":{"self":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/3875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/comments?post=3875"}],"version-history":[{"count":9,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/3875\/revisions"}],"predecessor-version":[{"id":3884,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/posts\/3875\/revisions\/3884"}],"wp:attachment":[{"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/media?parent=3875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/categories?post=3875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lancard.com\/blog\/wp-json\/wp\/v2\/tags?post=3875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}