{"id":1291,"date":"2011-04-09T10:00:43","date_gmt":"2011-04-09T02:00:43","guid":{"rendered":"http:\/\/blog.pighead.cc\/whsyu\/?p=1291"},"modified":"2011-04-09T10:00:43","modified_gmt":"2011-04-09T02:00:43","slug":"roundcube-smtp-ssl","status":"publish","type":"post","link":"https:\/\/blog.pighead.cc\/whsyu\/2011\/04\/09\/roundcube-smtp-ssl\/","title":{"rendered":"Roundcube + smtp + ssl"},"content":{"rendered":"<p class=\"bb-post-separator\"><strong>[\u83ef\u8a9e, cmn-Hant-TW]  <\/strong><\/p><p>\u7528\u00a0<a href=\"http:\/\/roundcube.net\/\">Roundcube<\/a> \u67b6 Webmail\uff0c\u4e00\u822c\u4f86\u8b1b\u53ea\u8981 imap \u8ddf smtp \u5728\u4f3a\u670d\u5668\u7aef\u90fd\u5df2\u7d93\u5148\u8a2d\u5b9a\u597d\u7684\u8a71\uff0c\u61c9\u8a72\u662f\u4e0d\u6703\u9047\u5230\u592a\u5927\u7684\u554f\u984c\uff0c\u5c31\u8a2d\u5b9a\u6a94\u586b\u4e00\u586b\u503c\u5c31\u53ef\u4ee5\u52d5\u4e86\uff0c\u4e0d\u904e\u561b\u2026 \u4f86\u770b\u4e00\u4e0b main.inc.php \u95dc\u65bcsmtp\u00a0\u8a2d\u5b9a\u7684\u8aaa\u660e\uff1a<\/p>\n<pre lang=\"php\">\r\n\/\/ SMTP server host (for sending mails).\r\n\/\/ To use SSL\/TLS connection, enter hostname with prefix ssl:\/\/ or tls:\/\/\r\n\/\/ If left blank, the PHP mail() function is used\r\n\/\/ Supported replacement variables:\r\n\/\/ %h - user's IMAP hostname\r\n\/\/ %n - http hostname ($_SERVER['SERVER_NAME'])\r\n\/\/ %d - domain (http hostname without the first part)\r\n\/\/ %z - IMAP domain (IMAP hostname without the first part)\r\n\/\/ For example %n = mail.domain.tld, %d = domain.tld\r\n$rcmail_config['smtp_server'] = '';\r\n<\/pre>\n<p>\u7167\u8aaa\u660e\u4f86\u770b\uff0c\u8981\u958b\u555f SSL \u7684\u8a71\u61c9\u8a72\u662f\u6253 ssl:\/\/ \u5c31\u53ef\u4ee5\uff0c\u4e0d\u904e\u5176\u5be6\u9019\u6a23\u53ea\u6703\u5403\u5230\u932f\u8aa4\u8a0a\u606f\u800c\u5df2\uff0c\u4e8b\u5be6\u4e0a <strong>\u53ea\u6709 tls:\/\/ \u80fd\u7528<\/strong>\uff0c\u56e0\u70ba rcube_smtp.php \u53ea\u6703\u89e3\u6790 tls:\/\/ \u958b\u982d\u7684 smtp_server \u53c3\u6578\u2026\u2026 \u7e3d\u4e4b\uff0c\u6703\u52d5\u5c31\u597d\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[\u83ef\u8a9e, cmn-Hant-TW] \u7528\u00a0Roundcube \u67b6 Webmail\uff0c\u4e00\u822c\u4f86\u8b1b\u53ea\u8981 imap \u8ddf smtp \u5728\u4f3a\u670d\u5668\u7aef\u90fd\u5df2\u7d93\u5148\u8a2d\u5b9a\u597d\u7684\u8a71\uff0c\u61c9\u8a72\u662f\u4e0d\u6703\u9047\u5230\u592a\u5927\u7684\u554f\u984c\uff0c\u5c31\u8a2d\u5b9a\u6a94\u586b\u4e00\u586b\u503c\u5c31\u53ef\u4ee5\u52d5\u4e86\uff0c\u4e0d\u904e\u561b\u2026 \u4f86\u770b\u4e00\u4e0b main.inc.php \u95dc\u65bcsmtp\u00a0\u8a2d\u5b9a\u7684\u8aaa\u660e\uff1a \/\/ SMTP server host (for sending mails). \/\/ To use SSL\/TLS connection, enter hostname with prefix ssl:\/\/ or tls:\/\/ \/\/ If left blank, the PHP mail() function is&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[173],"tags":[4289,4290,4287,4291],"class_list":["post-1291","post","type-post","status-publish","format-standard","hentry","category-web","tag-roundcube","tag-smtp","tag-ssl","tag-webmail"],"_links":{"self":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/1291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/comments?post=1291"}],"version-history":[{"count":6,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/1291\/revisions"}],"predecessor-version":[{"id":1297,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/posts\/1291\/revisions\/1297"}],"wp:attachment":[{"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/media?parent=1291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/categories?post=1291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pighead.cc\/whsyu\/wp-json\/wp\/v2\/tags?post=1291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}