{"id":92,"date":"2011-02-16T23:41:49","date_gmt":"2011-02-16T14:41:49","guid":{"rendered":"http:\/\/.\/?p=92"},"modified":"2011-02-16T23:41:49","modified_gmt":"2011-02-16T14:41:49","slug":"qmail-vpopmail-%e3%81%a7md5%e5%af%be%e5%bf%9c","status":"publish","type":"post","link":"https:\/\/hanakihomeserver.com\/?p=92","title":{"rendered":"qmail + vpopmail \u3067md5\u5bfe\u5fdc"},"content":{"rendered":"<p>qmail + vpopmail\u3067\u306f\u3001md5\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3002<br \/>\n\u306a\u3093\u3068\u306a\u304f\u3060\u304c\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5411\u4e0a?\u306e\u305f\u3081\u306b\u3001md5\u306b\u5bfe\u5fdc\u3055\u305b\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u3002<br \/>\nvpopmail\u306f\u3001\u30d1\u30c3\u30c1\u304c\u5fc5\u8981\u3068\u8a00\u3046\u307e\u3067\u3082\u306a\u304f\u3001\u30bd\u30fc\u30b9\u3092\u4e00\u90e8\u5909\u66f4\u3059\u308b\u3002<br \/>\n\u307e\u305a\u306f\u3001vpopmail\u306e\u30bd\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\nvchkpw.c\u3092\u7de8\u96c6<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"365\">\n<tbody>\n<tr>\n<td width=\"363\" valign=\"top\">hmac_md5( (unsigned char *) challenge, strlen(challenge), (unsigned char *) password, strlen(password), digest);<br \/>\n\u2193\u203b\u5909\u66f4<br \/>\nhmac_md5( (unsigned char *) response, strlen(response), (unsigned char *) password, strlen(password), digest);<br \/>\nreturn(strcmp(digascii,response));<br \/>\n\u2193\u203b\u5909\u66f4<br \/>\nreturn(strcmp(digascii,challenge));<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u7de8\u96c6\u3057\u305f\u3089\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3002<br \/>\n\u79c1\u306e\u3068\u3053\u308d\u3067\u306f\u3001mysql\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u305f\u3081mysql\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3002<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"400\">\n<tbody>\n<tr>\n<td width=\"398\" valign=\"top\">.\/configure &#8211;disable-roaming-users &#8211;enable-logging=p \\<br \/>\n&#8211;disable-ip-alias-domains &#8211;disable-passwd \\<br \/>\n&#8211;enable-clear-passwd &#8211;disable-domain-quotas \\<br \/>\n&#8211;enable-auth-module=mysql \\<br \/>\n&#8211;enable-auth-logging &#8211;enable-sql-logging &#8211;enable-valias \\<br \/>\n&#8211;enable-logging=y &#8211;enable-many-domains<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u3053\u3067\u5927\u4e8b\u306a\u306e\u306f\u3001&#8211;disable-clear-passwd \u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3057\u306a\u3044\u3053\u3068\u3002<br \/>\n\u3053\u308c\u3092\u3044\u308c\u308b\u3068\u3001\u8a8d\u8a3c\u3067\u304d\u306a\u304f\u306a\u308b\u3002<br \/>\n\u3042\u3068\u306f\u3001<\/p>\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"2\" width=\"400\">\n<tbody>\n<tr>\n<td width=\"400\" valign=\"top\">make &amp;&amp; make install<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u3053\u308c\u3067\u884c\u3051\u308b\u304b\u3068\u601d\u3044\u3001\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u307f\u308b\u3068\u30a8\u30e9\u30fc\u3002<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u898b\u3066\u307f\u308b\u3068\u3001pw_clear_passwd\u306e\u6b04\u304c\u7a7a\u306e\u307e\u307e\u3002<br \/>\nqmailadmin\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u767b\u9332\u3092\u3057\u76f4\u3057\u3066\u307f\u308b\u3068\u3001\u7a7a\u306e\u307e\u307e\u3002<br \/>\n\u3053\u308c\u30671\u6642\u9593\u304f\u3089\u3044\u8003\u3048\u3066\u307f\u305f\u3002<br \/>\nqmailadmin\u306e\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u3066\u307f\u3066\u304b\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u767b\u9332\u76f4\u3057\u3066\u307f\u308b\u3068\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u767b\u9332\u3055\u308c\u305f\u3002<br \/>\n\u3053\u308c\u3067\u3084\u3063\u3068\u3001md5\u306e\u8a8d\u8a3c\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>qmail + vpopmail\u3067\u306f\u3001md5\u304c\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u3002 \u306a\u3093\u3068\u306a\u304f\u3060\u304c\u3001 &hellip; <a href=\"https:\/\/hanakihomeserver.com\/?p=92\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":0,"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hanakihomeserver.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}