{"id":1457,"date":"2009-04-05T08:31:00","date_gmt":"2009-04-05T00:31:00","guid":{"rendered":"http:\/\/blog.pmail.idv.tw\/?p=1457"},"modified":"2009-04-05T08:31:00","modified_gmt":"2009-04-05T00:31:00","slug":"%e8%a8%ad%e5%ae%9aopenwebmail-%e4%bd%bf%e7%94%a8ssl","status":"publish","type":"post","link":"https:\/\/blog.pmail.idv.tw\/?p=1457","title":{"rendered":"\u8a2d\u5b9aopenwebmail \u4f7f\u7528ssl"},"content":{"rendered":"<p>\u5c0f\u5f1f\u5728Fedora10 \u4e0a\u9762\u5229\u7528rpm \u5b89\u88ddopenwebmail <br \/>\u56e0\u70ba\u4e4b\u524d\u6709\u5beb\u904e\u4e00\u7bc7\u662f\u4e0d\u662f\u5229\u7528rpm\u65b9\u5f0f\u5b89\u88ddopenwebmail<br \/>\u4e14\u4f7f\u7528ssl \u65b9\u5f0f \uff0c\u7db2\u5740\u5982\u4e0b<br \/><a title=\"https:\/\/blog.pmail.idv.tw\/?p=1456\" href=\"https:\/\/blog.pmail.idv.tw\/?p=1456\">https:\/\/blog.pmail.idv.tw\/?p=1456<\/a><\/p>\n<p><!--more--><\/p>\n<p>\u56e0\u70ba\u9019\u6b21\u662f\u5229\u7528rpm\u5b89\u88ddopenwebmail \u6bd4\u8f03\u65b9\u4fbf\u4f46\u662f\u53c8\u60f3\u4f7f\u7528ssl\u52a0\u5bc6<br \/>\u6240\u4ee5\u7814\u7a76\u4e86\u4e00\u4e0b,\u8a2d\u5b9a\u7684\u65b9\u5f0f\u5982\u4e0b:<br \/>\u56e0\u70barpm \u65b9\u5f0f\u5b89\u88ddopenwebmail \u5f8c\u6703\u81ea\u52d5\u5728 \/etc\/httpd\/conf.d\/\u8def\u5f91<br \/>\u4e0b\u9762\u7522\u751fopenwebmail.conf \u6a94\u6848,\u6a94\u6848\u5167\u5bb9\u5982\u4e0b\uff1a<br \/>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<br \/>#<br \/># This configuration file allows the openwebmail to be accessed at<br \/># <a href=\"http:\/\/%3chostname%3e\/webmail\">http:\/\/&lt;hostname&gt;\/webmail<\/a><br \/>#  <\/p>\n<p>ScriptAlias \/webmail \/var\/www\/cgi-bin\/openwebmail\/openwebmail.pl<br \/>Alias \/data \/var\/www\/data<br \/>\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d\uff1d<br \/>\u6240\u4ee5\u6211\u5c07 openwebmail.conf&nbsp; \u8b8a\u66f4\u70baopenwebmail.conf.bak<br \/>\u9019\u6a23apache \u5c31\u4e0d\u6703\u628a\u9019\u500b\u8a2d\u5b9a\u6a94include \u9032\u4f86<br \/>\u7136\u5f8c\u4fee\u6539 \/etc\/httpd\/conf.d\/ssl.conf<br \/>\u627e\u5230 &#8220;&lt;VirtualHost _default_:443&gt;&#8221; \u9019\u4e00\u6bb5<br \/>\u5c07DocumentRoot &#8220;\/var\/www\/html&#8221; \u6b64\u884c\u8a3b\u89e3\u6389\uff08\u6700\u524d\u9762\u52a0\u4e0a#\u865f\uff09<br \/>\u7136\u5f8c\u65b0\u589e&nbsp;&nbsp; DocumentRoot &#8220;\/var\/www\/data\/openwebmail&#8221;<br \/>\u518d\u5c07 ServerName mail.pmail.idv.tw:443 &#8212;&gt; \u4fee\u6539\u70ba\u81ea\u5df1\u7684\u4e3b\u6a5f\u540d\u7a31\u52a0domain name<br \/>\u518d\u628a\u539f\u4f86 openwebmail.conf \u88e1\u9762\u7684\u5167\u5bb9\u52a0\u5165\uff08\u5982\u4e0b\uff09<br \/>ScriptAlias \/webmail \/var\/www\/cgi-bin\/openwebmail\/openwebmail.pl<br \/>Alias \/data \/var\/www\/data<br \/>\u518d\u4f86\u5c31\u662f\u91cd\u65b0\u555f\u52d5 apache \u5f8copenwebmail \u9023\u7dda\u65b9\u5f0f\u5c31\u4e00\u5b9a\u8981\u4f7f\u7528 <a href=\"https:\/\/xxx.xxx.xxx.xxx\/webmail\">https:\/\/xxx.xxx.xxx.xxx\/webmail<\/a> \u624d\u53ef\u4ee5\u770b\u5230\u767b\u5165\u756b\u9762\u56c9<br \/>\u82e5\u7db2\u5740\u6253<a href=\"http:\/\/xxx.xxx.xxx.xxx\/webmail\">http:\/\/xxx.xxx.xxx.xxx\/webmail<\/a> \u9019\u6a23\u662f\u7121\u6cd5\u986f\u793a\u7db2\u9801\u7684<\/p>\n<div class=\"21cd169d3c0f71e95b84db320302cb4a\" data-index=\"1\" style=\"float: right; margin:10px 0 10px 10px;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8711325745898650\"\r\n     crossorigin=\"anonymous\"><\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u5c0f\u5f1f\u5728Fedora10 \u4e0a\u9762\u5229\u7528rpm \u5b89\u88ddopenwebmail \u56e0\u70ba\u4e4b\u524d\u6709\u5beb &hellip; <a href=\"https:\/\/blog.pmail.idv.tw\/?p=1457\">\u95b1\u8b80\u5168\u6587 <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":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1457","post","type-post","status-publish","format-standard","hentry","category-openwebmail"],"_links":{"self":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1457","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1457"}],"version-history":[{"count":0,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/1457\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1457"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1457"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1457"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}