{"id":3601,"date":"2013-08-16T18:18:20","date_gmt":"2013-08-16T09:18:20","guid":{"rendered":"http:\/\/mike.md.tsukuba.ac.jp\/terui\/blog\/?p=3601"},"modified":"2021-12-27T09:32:09","modified_gmt":"2021-12-27T00:32:09","slug":"web%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%80%80%e3%81%9d%e3%81%ae%ef%bc%91","status":"publish","type":"post","link":"https:\/\/nbsigh2.com\/?p=3601","title":{"rendered":"Web\u30e1\u30fc\u30eb\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>Mountain Lion Server (10.8\u30b5\u30fc\u30d0\u3001OSX\u30b5\u30fc\u30d0\uff09\u306b\u306fWebmail \u304c\u306a\u3044\u3002\u305d\u3053\u3067Web\u30e1\u30fc\u30eb\u3068\u3057\u3066Roundcube \u3092\u9078\u3093\u3067\u307f\u305f\u3002<br \/>\n<a href=\"http:\/\/sourceforge.jp\/projects\/sfnet_roundcubemail\/\" target=\"_blank\" rel=\"noopener\">roundcubemail-0.9.2<\/a>\u3000\u3067\u3042\u308b\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u89e3\u51cd\u3057\u305f\u3002\u3067\u304d\u305f\u30d5\u30a9\u30eb\u30c0\u306froundcubemail-0.9.2\u3067\u3042\u308b\u3002<br \/>\n\u64cd\u4f5c\u306froot\u306b\u306a\u3063\u3066\u304b\u3089\u306e\u65b9\u304c\u697d\u306a\u306e\u3067root\u306b\u306a\u3063\u3066\u5b9f\u65bd\u3059\u308b<\/p>\n<blockquote><p>$ su<br \/>\nPassword:<\/p><\/blockquote>\n<p>\u3067\u3059\u306a\u3002<br \/>\n\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u89e3\u51cd\u3057\u305froundcubemail-0.9.2\u3092<br \/>\n\/Library\/Sserver\/Web\/Data\/Sites\/Default\/ \u306b\u79fb\u52d5\u3055\u305b\u308b\u3002<br \/>\n\u30aa\u30fc\u30ca\u30fc\u3092root:wheel \u306b\u3057\u3066\u304a\u304f\u3002<\/p>\n<blockquote><p>sh-3.2# chown -R root:wheel roundcubemail-0.9.2<\/p><\/blockquote>\n<p>\u3055\u3089\u306b \/Library\/Sserver\/Web\/Data\/Sites\/Default\/roundcubemail-0.9.2\u3067<br \/>\nWeb\u30b5\u30fc\u30d0\u304ctemp\u3068logs\u30d5\u30a9\u30eb\u30c0\u306e\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u306b\u306a\u308b\u3088\u3046\u306b\u30aa\u30fc\u30ca\u30fc\u3092\u5909\u66f4\u3059\u308b\u3002<\/p>\n<blockquote><p>sh-3.2# chown -R www:www temp<br \/>\nsh-3.2# chown -R www:www logs<\/p><\/blockquote>\n<p>\u78ba\u8a8d\u3059\u308b<\/p>\n<blockquote><p>sh-3.2# ls -al<br \/>\ntotal 192<br \/>\ndrwxr-xr-x@ 20 root wheel 680 6 17 00:10 .<br \/>\ndrwxr-xr-x 9 root wheel 306 8 15 14:12 ..<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 1344 6 17 00:10 .htaccess<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 12895 6 17 00:10 CHANGELOG<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 8901 6 17 00:10 INSTALL<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 35147 6 17 00:10 LICENSE<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 4022 6 17 00:10 README.md<br \/>\ndrwxr-xr-x@ 10 root wheel 340 6 17 00:10 SQL<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 2712 6 17 00:10 UPGRADING<br \/>\ndrwxr-xr-x@ 14 root wheel 476 6 17 00:10 bin<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 381 6 17 00:10 composer.json-dist<br \/>\ndrwxr-xr-x@ 6 root wheel 204 6 17 00:10 config<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 11999 6 17 00:10 index.php<br \/>\ndrwxr-xr-x@ 10 root wheel 340 6 17 00:10 installer<br \/>\ndrwxr-xr-x@ 3 _www _www 102 6 17 00:10 logs<br \/>\ndrwxr-xr-x@ 31 root wheel 1054 6 17 00:10 plugins<br \/>\ndrwxr-xr-x@ 9 root wheel 306 6 17 00:10 program<br \/>\n-rw-r&#8211;r&#8211;@ 1 root wheel 26 6 17 00:10 robots.txt<br \/>\ndrwxr-xr-x@ 4 root wheel 136 6 17 00:10 skins<br \/>\ndrwxr-xr-x@ 3 _www _www 102 6 17 00:10 temp<\/p><\/blockquote>\n<p>\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u306e\u4f5c\u6210<\/p>\n<blockquote><p>sh-3.2# ln -s \/Library\/Server\/Web\/Data\/Sites\/Default\/roundcubemail-0.9.2 webmail<\/p><\/blockquote>\n<p>\u3053\u308c\u3067 http:\/\/example.com\/webmail\/installer\/\u3067Roundcube\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30fb\u30b9\u30c6\u30c3\u30d7\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u4f5c\u6210<br \/>\nphpMyAdmin \u3067\u30a8\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u4f5c\u6210\u3002\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3092roundcubemail\u3068\u3057\u305f\u3002<br \/>\n\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u30e6\u30fc\u30b6\u306broundcube;localhost;\u30d1\u30b9\u30ef\u30fc\u30c9xxxx\u3001\u7279\u6a29\u306f\u3059\u3079\u3066\u53ef\u3068\u3057\u3066\u304a\u3044\u305f\u3002<br \/>\nhttp:\/\/example.com\/webmail\/installer\/<br \/>\n\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\uff1b<br \/>\n<a href=\"https:\/\/nbsigh2.com\/wp-content\/uploads\/2013\/08\/20130816roundcube-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3602 size-medium\" src=\"https:\/\/nbsigh2.com\/wp-content\/uploads\/2013\/08\/20130816roundcube-1-300x156.png\" alt=\"20130816roundcube-1\" width=\"300\" height=\"156\" srcset=\"https:\/\/nbsigh2.com\/wp-content\/uploads\/2013\/08\/20130816roundcube-1-300x156.png 300w, https:\/\/nbsigh2.com\/wp-content\/uploads\/2013\/08\/20130816roundcube-1.png 635w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u3068\u306a\u3063\u305f\u3002\u8d64\u5b57\u304c\u30a8\u30e9\u30fc\u3060\u3002<br \/>\nMcrypt: NOT AVAILABLE(See http:\/\/www.php.net\/manual\/en\/book.mcrypt.php)<br \/>\nIntl: NOT AVAILABLE(See http:\/\/www.php.net\/manual\/en\/book.intl.php)<br \/>\nSQLite (v2): NOT AVAILABLE(See http:\/\/www.php.net\/manual\/en\/ref.pdo-sqlite.php)<br \/>\nSQL Server (SQLSRV): NOT AVAILABLE(See http:\/\/www.php.net\/manual\/en\/ref.pdo-sqlsrv.php)<br \/>\nSQL Server (DBLIB): NOT AVAILABLE(See http:\/\/www.php.net\/manual\/en\/ref.pdo-dblib.php)<br \/>\n\u304c\u3067\u304d\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3060\u3002\u62e1\u5f35\u6a5f\u80fd\u304c\u52d5\u3044\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u8b66\u544a\u3068\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304c\u306a\u3044\u3068\u3044\u3046\u8b66\u544a\u3060\u3002<br \/>\n\u62e1\u5f35\u6a5f\u80fd\u306eMcrypt: NOT AVAILABLE\u3000\u306b\u3064\u3044\u3066\u306f\u3001\u8a2d\u5b9a\u3057\u305f\u306f\u305a\u306a\u306e\u306b\u3068\u601d\u3063\u3066\u3001\/etc\/php.ini \u3092\u898b\u305f\u3089\u52a0\u7b46\u3057\u305f\u90e8\u5206\u304c\u6d88\u3048\u3066\u3044\u308b\u3002OS\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u305f\u3068\u304d\u306b\u66f8\u304d\u63db\u3048\u3089\u308c\u3061\u3083\u3063\u305f\u306b\u3061\u304c\u3044\u306a\u3044\u3002<\/p>\n<blockquote><p>[mcrypt]<br \/>\n; For more information about mcrypt settings see http:\/\/php.net\/mcrypt-module-open<br \/>\n; Directory where to load mcrypt algorithms<br \/>\n; Default: Compiled in into libmcrypt (usually \/usr\/local\/lib\/libmcrypt)<br \/>\n;mcrypt.algorithms_dir=<br \/>\n; Directory where to load mcrypt modes<br \/>\n; Default: Compiled in into libmcrypt (usually \/usr\/local\/lib\/libmcrypt)<br \/>\n;mcrypt.modes_dir=<br \/>\n<strong>extension=\/opt\/local\/lib\/php53\/extensions\/no-debug-non-zts-20090626\/mcrypt.so<\/strong><\/p><\/blockquote>\n<p>\u3068\u592a\u5b57\u306e\u90e8\u5206\u3000extension=\/opt\/local\/lib\/php53\/extensions\/no-debug-non-zts-20090626\/mcrypt.so<br \/>\n\u3092\u66f8\u304d\u52a0\u3048\u3066\u304a\u3044\u305f\uff08\u30b5\u30fc\u30d0\u69cb\u7bc9\u306e\u8a18\u9332<a href=\"http:\/\/seigi.accsnet.ne.jp\/sigh\/blog\/?p=2994\" target=\"_blank\" rel=\"noopener\">\uff13\uff14\u9805\u53c2\u7167<\/a>\uff09\u3002<br \/>\nIntl: NOT AVAILABLE\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"http:\/\/seigi.accsnet.ne.jp\/sigh\/blog\/?p=2992\" target=\"_blank\" rel=\"noopener\">MACPORT<\/a>\u3067\u63a2\u3057\u3066\u307f\u305f\u3002intl \u3068\u306f\u306a\u3093\u3084\u3089\u56fd\u969b\u5316\u306e\u610f\u5473\u3067\u3042\u308b\u3002<br \/>\n\/opt\/local\/bin \u3067<\/p>\n<blockquote><p>sh-3.2# .\/port search intl<\/p><\/blockquote>\n<p>\u3068\u3057\u305f\u3089<\/p>\n<blockquote><p>php53-intl @5.3.23 (php, devel)<br \/>\ninternationalization extension for PHP<\/p><\/blockquote>\n<p>\u3068\u3044\u3046\u306e\u304c\u3042\u3063\u305f\u304b\u3089\u3001php\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u4e00\u81f4\u3059\u308b\u3084\u3064-php53-intl-\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<\/p>\n<blockquote><p>sh-3.2# .\/port install php53-intl<br \/>\nWarning: port definitions are more than two weeks old, consider using selfupdate<br \/>\n&#8212;&gt; Computing dependencies for php53-intl<br \/>\n&#8212;&gt; Dependencies to be installed: icu<br \/>\n&#8212;&gt; Fetching archive for icu<br \/>\n&#8212;&gt; Attempting to fetch icu-49.1.2_1.darwin_12.x86_64.tbz2 from http:\/\/jog.id.packages.macports.org\/macports\/packages\/icu<br \/>\n&#8212;&gt; Attempting to fetch icu-49.1.2_1.darwin_12.x86_64.tbz2.rmd160 from http:\/\/jog.id.packages.macports.org\/macports\/packages\/icu<br \/>\n&#8212;&gt; Installing icu @49.1.2_1<br \/>\n&#8212;&gt; Activating icu @49.1.2_1<br \/>\n&#8212;&gt; Cleaning icu<br \/>\n&#8212;&gt; Fetching archive for php53-intl<br \/>\n&#8212;&gt; Attempting to fetch php53-intl-5.3.23_0.darwin_12.x86_64.tbz2 from http:\/\/jog.id.packages.macports.org\/macports\/packages\/php53-intl<br \/>\n&#8212;&gt; Attempting to fetch php53-intl-5.3.23_0.darwin_12.x86_64.tbz2.rmd160 from http:\/\/jog.id.packages.macports.org\/macports\/packages\/php53-intl<br \/>\n&#8212;&gt; Installing php53-intl @5.3.23_0<br \/>\n&#8212;&gt; Activating php53-intl @5.3.23_0<br \/>\n&#8212;&gt; Cleaning php53-intl<br \/>\n&#8212;&gt; Updating database of binaries: 100.0%<br \/>\n&#8212;&gt; Scanning binaries for linking errors: 100.0%<br \/>\n&#8212;&gt; No broken files found.<\/p><\/blockquote>\n<p>\u8868\u793a\u3055\u308c\u305fWarning:\u306f\u3068\u308a\u3042\u3048\u305a\u7121\u8996\u3057\u305f\u3002<br \/>\n\/opt\/local\/lib\/php53\/extensions\/no-debug-non-zts-20090626<br \/>\n\u306bintl.so\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3001<br \/>\n\u3067\u3001PHP \u306b\u8a8d\u8b58\u3055\u305b\u308b\u305f\u3081\u306b \/etc\/php.ini \u306b\u52a0\u7b46\u3059\u308b\u3002\u3069\u3053\u306b\u66f8\u3044\u305f\u3089\u3044\u3044\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u4e00\u756a\u4e0b\u306b<\/p>\n<blockquote><p>[International language]<br \/>\nextension=\/opt\/local\/lib\/php53\/extensions\/no-debug-non-zts-20090626\/intl.so<\/p><\/blockquote>\n<p>\u3068\u8a18\u5165\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3067<br \/>\nhttp:\/\/example.com\/webmail\/installer\/<br \/>\n\u306b\u518d\u5ea6\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3089\uff2f\uff2b\u3068\u306a\u3063\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f At least one of them is required.\u3068\u3042\u308b\u3093\u3060\u304b\u3089\u3001\u305d\u3057\u3066MySQL: OK\u3068\u306a\u3063\u3066\u3044\u308b\u306e\u3060\u304b\u3089\u3044\u3044\u306e\u3060\u308d\u3046\u3002<br \/>\n\u305d\u3093\u3067Installer\u3092\u5148\u306b\u9032\u3081\u305f\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u540d\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30e6\u30fc\u30b6\u540d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u5148\u306bphpMyadmin\u3067\u6c7a\u3081\u305f\u901a\u308a\u3060\u3002smtp\u30b5\u30fc\u30d0\u306e\u3068\u3053\u308d\u3060\u3051\u66f8\u304d\u52a0\u3048\u305f\u3002\u3042\u3068\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u3002<br \/>\nconfig\u30d5\u30a1\u30a4\u30eb\u3092\uff12\u3064\u4f5c\u308b\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u306f\u6307\u793a\u306b\u3057\u305f\u304c\u3063\u305f\u3002<br \/>\nDownload \u304c\u4e00\u756a\u9593\u9055\u3044\u306a\u3044\u304b\u3089\uff12\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u3001db.inc.php\u3068main.inc.php \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\/Library\/Server\/Web\/Data\/Sites\/Default\/roundcubemail-0.9.2\/config\u5185\u306b\u5165\u308c\u305f\u3002<br \/>\nowner \u3092\u307b\u304b\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u3088\u3046\u306broot:wheel \u3068\u3057\u305f\u3001\u30a2\u30af\u30bb\u30b9\u6a29\u306f\uff16\uff14\uff14\u306e\u307e\u307e\u3060\u304c\u3044\u3044\u306e\u3060\u308d\u3046\u304b\uff1f<br \/>\nCheck DB Config \u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306f\u3044\u3044\u304c\u3000DB Schema: NOT OK(Database not initialized)\u3000\u3068\u3067\u3066\u304d\u305f\u306e\u3067\u3000\u305d\u306e\u4e0b\u306e\u30dc\u30bf\u30f3\uff08refresh \u3060\u3063\u305f\u304b\u306a\uff09\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u89e3\u6c7a\u3002<br \/>\nTest SMTP config\u3000\u3067<br \/>\nSender: hoge@localhost<br \/>\nRecipient: hoge@localhost<br \/>\n\u3068\u5165\u529b\u3057\u3066\u3000Send test mail \u3092\u30af\u30ea\u30c3\u30af\u3057\u3066hoge\u5b9b\u3066\u306b\u30e1\u30fc\u30eb\u304c\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3002<br \/>\nTest IMAP config \u3067<br \/>\nServer: localhost<br \/>\nPort:143<br \/>\nUsername\uff1ahoge\uff08\u3053\u306e\u30b5\u30fc\u30d0\u306e\u30e6\u30fc\u30b6\u540d\uff09<br \/>\nPassword:xxxxxx(\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\uff09<br \/>\n\u3092\u5165\u529b\u3057\u305f\u3089<br \/>\nConnecting to localhost&#8230;<br \/>\nIMAP connect: NOT OK(Login failed for hoge from 192.168.xx.xx. Authentication failed.)<br \/>\n\u3060\u3063\u3066\u3002<br \/>\n\u3069\u3046\u3084\u3089\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u6697\u53f7\u5316\u306e\u90e8\u5206\u3067\u3072\u3063\u304b\u304b\u3063\u3066\u3044\u308b\u3093\u3060\u308d\u3002http:\/\/example.com\/webmail\/ \u3067Roundcube \u306e\u6700\u521d\u306e\u30da\u30fc\u30b8\u304c\u3067\u3066\u6765\u308b\u3002\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3082\u901a\u3089\u306a\u3044\u3002\u540c\u3058\u7406\u7531\u304b\u3089\u3060\u3002<br \/>\n\u518d\u5ea6\u3001installer \u306e\u30da\u30fc\u30b8\u304b\u3089\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3088\u3046\u3060\u3002\u3053\u306e\u307e\u307einstaller\u306e\u30da\u30fc\u30b8\u306b\u3060\u308c\u304b\u304c\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u9762\u5012\u306a\u3053\u3068\u306b\u306a\u308b\u304b\u3089\u3001installer\u3092\u4e00\u6642\u7684\u306b\u4f7f\u3048\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304a\u3044\u305f\u3002<br \/>\n\u660e\u65e5\u3001\u660e\u5f8c\u65e5\u3068\u3053\u306e\u30b5\u30fc\u30d0\u306e\u3042\u308b\u5efa\u7269\u304c\u505c\u96fb\u306a\u306e\u3067\u3001\u3067\u3001\u307e\u305f\u3001\u4eca\u65e5\u306f\u30a2\u30eb\u30b3\u30fc\u30eb\u3092\u4f53\u304c\u8981\u6c42\u3057\u3066\u3044\u308b\u306e\u3067\u3053\u3053\u307e\u3067\u3060\u3002\u7d9a\u304d\u306f\u6765\u9031\u3060\u306a\u3002<br \/>\n\u4e00\u767a\u3067\u52d5\u304f\u3068\u306f\u601d\u3063\u3066\u3044\u306a\u304b\u3063\u305f\u3057\u3001\u554f\u984c\u306b\u3076\u3064\u304b\u308b\u305f\u3073\u306b\u3001\uff34\uff36\u306e\u63a8\u7406\u30c9\u30e9\u30de\u3092\u898b\u306b\u884c\u3063\u3061\u3083\u3046\u3068\u304b\u3001\u4ed6\u306e\u3053\u3068\u3092\u3059\u308b\u304b\u3089\u306a\u304b\u306a\u304b\u3067\u304d\u306a\u3044\u3002\u590f\u4f11\u306b\u3084\u308b\u3068\u3053\u3046\u3044\u3053\u3068\u306b\u306a\u308b\u3002\u666e\u6bb5\u306e\u4ed5\u4e8b\u304c\u3064\u307e\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u3084\u308b\u3068\u3001\u3082\u3063\u3068\u65e9\u304f\u306a\u308b\u306e\u3060\u304c\u3002<br \/>\n\u505c\u96fb\u660e\u3051\u306b\u5b9f\u65bd\u3057\u3066\u6210\u529f\u3057\u305f\u3002<br \/>\nmain.conf.php \u306e\uff18\uff15\u884c\u76ee<\/p>\n<blockquote><p>\/\/ IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use<br \/>\n\/\/ best server supported one)<br \/>\n$rcmail_config[&#8216;imap_auth_type&#8217;] = <strong>NULL<\/strong>;<\/p><\/blockquote>\n<p>\u306e\u592a\u5b57\u306e\u3000NULL \u3092\u3000PLAIN \u306b\u66f8\u304d\u63db\u3048\u308b\u3002<\/p>\n<blockquote><p>\/\/ IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use<br \/>\n\/\/ best server supported one)<br \/>\n$rcmail_config[&#8216;imap_auth_type&#8217;] = PLAIN ;<\/p><\/blockquote>\n<p>\u3067\u3059\u306d\u3002<br \/>\n\u3053\u308c\u3067\u3000http:\/\/example.com\/webmail\/ \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3000login\u3067\u304d\u308b\u3002\u9001\u53d7\u4fe1\u304c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304a\u3057\u307e\u3044\u3002<br \/>\n[\u8ffd\u52a0\u60c5\u5831]<br \/>\n\u2605\u3000Installer \u3092\u518d\u5ea6\u8d77\u52d5\u3057\u3066\u59cb\u3081\u304b\u3089\u3084\u308a\u76f4\u3059\u305f\u3081\u306b\u306f\u3001<br \/>\n\/library\/server\/web\/data\/sites\/default\/webmail\/config<br \/>\n\u306b\u3042\u308bmain.inc.php\u306e\uff11\uff18\uff15\u884c\u76ee\u304c<\/p>\n<blockquote><p>\/\/ THIS OPTION WILL ALLOW THE INSTALLER TO RUN AND CAN EXPOSE SENSITIVE CONFIG DATA.<br \/>\n\/\/ ONLY ENABLE IT IF YOU&#8217;RE REALLY SURE WHAT YOU&#8217;RE DOING!<br \/>\n$rcmail_config[&#8216;enable_installer&#8217;] =<strong> false<\/strong>;<\/p><\/blockquote>\n<p>\u3068\u306a\u3063\u3066\u3044\u308b\u304b\u3089\u3001\u3053\u306e false \u3092 true \u306b\u66f8\u304d\u63db\u3048\u308b\u3002<br \/>\n<tt><br \/>\n<\/tt><br \/>\n\u3082\u3046\u65e2\u306b\u3001\u51fa\u6765\u4e0a\u304c\u3063\u3061\u3083\u3063\u3066\u3001\u3055\u3089\u306b\u5909\u66f4\u3059\u308b\u305f\u3081\u306b\u306f\uff1b\/library\/server\/web\/data\/sites\/default\/webmail\/config\/main.inc.php \u3092\u76f4\u63a5\u66f8\u304d\u63db\u3048\u3061\u3083\u3063\u305f\u65b9\u304c\u306f\u3084\u3044\u3068\u601d\u3046\u3002<br \/>\n\u2605\u3000\u3082\u3057config\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u306e\u3068\u304d\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30db\u30b9\u30c8\u540d\u3092\u7a7a\u6b04\u306b\u3059\u308b\u3068\u3001\u30ed\u30b0\u30a4\u30f3\u306e\u3068\u304d\u3001\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u30db\u30b9\u30c8\u540d\u3092\u805e\u3044\u3066\u304f\u308b\u3002\u30db\u30b9\u30c8\u540d\u306f\u6539\u3081\u3066\u5165\u529b\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044\u306e\u3060\u304b\u3089\u3001\uff17\uff18\u884c\u76ee\u3092<br \/>\n$rcmail_config[&#8216;default_host&#8217;] = &#8216;<strong>example.com<\/strong>&#8216;;<br \/>\n\u3068\u592a\u5b57\u306e\u90e8\u5206\u306b\u81ea\u5206\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u66f8\u304d\u52a0\u3048\u308b\u3002<br \/>\n\u2605\u3000\u3055\u3089\u306bScure \u306a\u8a2d\u5b9a\u3092\u3059\u308b\u305f\u3081\u306b\u306f\uff08\u307e\u3060\u3084\u3063\u3066\u306a\u3044\u304b\u3089\u78ba\u8a3c\u306f\u306a\u3044\uff09\uff1b<br \/>\n<a href=\"http:\/\/www.lancard.com\/blog\/2013\/01\/09\/roundcube%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%EF%BC%86%E8%A8%AD%E5%AE%9A%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%97%E3%81%9F\/\" target=\"_blank\" rel=\"noopener\">LANCARD.LAB\u306b<\/a>\u3088\u308b\u3068<br \/>\nIMAP\u30b5\u30fc\u30d0\u306e\u6307\u5b9a\u3068\u8a2d\u5b9a<br \/>\n\uff17\uff18\u884c\u76ee<br \/>\n$rcmail_config[&#8216;default_host&#8217;] = &#8221;;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;default_host&#8217;] = &#8216;ssl:\/\/imap.example.com:993&#8217;;<br \/>\n\uff18\uff11\u884c\u76ee<br \/>\n$rcmail_config[&#8216;default_port&#8217;] = 143;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;default_port&#8217;] = 993;<br \/>\n\uff18\uff15\u884c\u76ee<br \/>\n$rcmail_config[&#8216;imap_auth_type&#8217;] = PLAIN;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;imap_auth_type&#8217;] = *****;<br \/>\n*****\u306bDIGEST-MD5\u3001CRAM-MD5\u3001LOGIN\u3001PLAIN\u3000\u306e\u3069\u308c\u304b\u3092\u5165\u529b\u3059\u308b\uff08\u3069\u308c\u304c\u3069\u308c\u304b\u3001\u30e6\u30fc\u30b6\u306e\u30e1\u30fc\u30eb\u30bd\u30d5\u30c8\u304cPLAIN\u4ee5\u5916\u306b\u3069\u308c\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u304b\u306b\u3088\u3063\u3066\u6c7a\u3081\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002\u305f\u3044\u3066\u3044\u306e\u30e1\u30fc\u30eb\u30bd\u30d5\u30c8\u306f\u81ea\u52d5\u7684\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u308c\u308b\u3068\u601d\u3046\u304c\u3002\uff09<br \/>\nSMTP\u30b5\u30fc\u30d0\u3092\u6307\u5b9a\u3057\u3066\u8a2d\u5b9a\u3059\u308b<br \/>\n\uff11\uff14\uff16\u884c\u76ee<br \/>\n$rcmail_config[&#8216;smtp_server&#8217;] = &#8221;;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;smtp_server&#8217;] = &#8216;ssl:\/\/example.com&#8217;;<br \/>\n\uff11\uff15\uff10\u884c\u76ee<br \/>\n$rcmail_config[&#8216;smtp_port&#8217;] = 25;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;smtp_port&#8217;] = 465;<br \/>\n\uff11\uff15\uff14\u884c\u76ee<br \/>\n$rcmail_config[&#8216;smtp_user&#8217;] = &#8221;;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;smtp_user&#8217;] = &#8216;%u&#8217;;<br \/>\n\uff11\uff15\uff18\u884c\u76ee<br \/>\n$rcmail_config[&#8216;smtp_pass&#8217;] = &#8221;;<br \/>\n\u2193<br \/>\n$rcmail_config[&#8216;smtp_pass&#8217;] = &#8216;%p&#8217;;<br \/>\n\u3055\u3089\u306b<br \/>\n\/library\/server\/web\/data\/sites\/default\/webmail\/config\/db.inc.php\u3000\u306e<br \/>\n32\u884c\u76ee<br \/>\n$rcmail_config[&#8216;db_dsnr&#8217;] = &#8216;mysql:\/\/roundcube:pass@localhost\/roundcubemail&#8217;;<br \/>\n\u2193<br \/>\n\/\/\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30e6\u30fc\u30b6\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b<br \/>\n$rcmail_config[&#8216;db_dsnw&#8217;] = &#8216;mysql:\/\/root(\u30e6\u30fc\u30b6\u540d):******(\u30d1\u30b9\u30ef\u30fc\u30c9)@localhost\/roundcubemail&#8217;;<br \/>\n\u3068\u3059\u308b\u306e\u304c\u3044\u3044\u3088\u3046\u3060\u3002<br \/>\n\u307e\u3060\u5b9f\u65bd\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\t\t\t\t<![CDATA[]]>\t\t<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,3],"tags":[],"class_list":["post-3601","post","type-post","status-publish","format-standard","hentry","category-mountain-lion-server","category-3"],"_links":{"self":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/3601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3601"}],"version-history":[{"count":4,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/3601\/revisions"}],"predecessor-version":[{"id":20789,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=\/wp\/v2\/posts\/3601\/revisions\/20789"}],"wp:attachment":[{"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nbsigh2.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}