{"id":2649,"date":"2013-02-19T08:42:18","date_gmt":"2013-02-18T23:42:18","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2013\/02\/19\/post_1432\/"},"modified":"2013-02-19T08:42:18","modified_gmt":"2013-02-18T23:42:18","slug":"post_1432","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2013\/02\/19\/2649\/","title":{"rendered":"\u7814\u7a76\u5ba4\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u518d\u69cb\u7bc9"},"content":{"rendered":"<p>\u7814\u7a76\u5ba4\u306b\u5b66\u751f\u304c\u914d\u5c5e\u3055\u308c\u3066\u4e00\u5e74\u305f\u3063\u3066\u3001\u5352\u8ad6\u767a\u8868\u3082\u7d42\u308f\u3063\u305f\u306e\u3067\u3001\u82e5\u5e72\u624b\u9045\u308c\u611f\u304c\u3042\u308b\u306e\u3060\u3051\u308c\u3069\u3001\u7814\u7a76\u5ba4\u306e\u30e1\u30fc\u30eb\u74b0\u5883\u3092\u518d\u69cb\u7bc9\u3057\u305f\u3002<br \/>\n\u81ea\u5206\u304c\u4f7f\u3046\u305f\u3081\u306e Postfix + Courier-IMAP \u306b\u3088\u308b\u74b0\u5883\u306f\u3082\u3046\u65e2\u306b\u3067\u304d\u3042\u304c\u3063\u3066\u3044\u305f\u3093\u3060\u3051\u3069\u3001Postfix \u306e SMTP Auth \u306e\u8a2d\u5b9a\u304c\u307e\u3060\u3060\u3063\u305f (\u7814\u7a76\u5ba4\u306e Postfix \u306f\u53d7\u4fe1\u5c02\u7528\u3067\u3001\u81ea\u5b85\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3092\u7d4c\u7531\u3057\u3066\u9001\u4fe1\u3057\u3066\u305f) \u308a\u3057\u3066\u3001\u5b66\u751f\u306b\u4f7f\u308f\u305b\u308b\u306e\u3082\u306a\u30fc\u3001\u3068\u3044\u3046\u611f\u3058\u3060\u3063\u305f\u306e\u3092\u4e00\u6c17\u306b\u3084\u3063\u3064\u3051\u305f\u611f\u3058\u3002OS \u306f\u3082\u3061\u308d\u3093 FreeBSD \u3060\u3002<br \/>\n\u3084\u308a\u305f\u304b\u3063\u305f\u3053\u3068\u3068\u3057\u3066\u306f\u3001<br \/>\n&#8211; SMTP\/IMAP \u3068\u3082\u306b STARTTLS \u3092\u4f7f\u3046<br \/>\n&#8211; \u8a8d\u8a3c\u306f\u4e21\u65b9\u3068\u3082 LDAP \u3067\u4e00\u5143\u5316\u3057\u305f\u3044<br \/>\n\u3068\u3044\u3046\u30a2\u30ec\u3002Courier IMAP \u306f courier-authdaemond \u3092\u5165\u308c\u308c\u3070\u3001\u3075\u3064\u3046\u306b PAM \u7d4c\u7531\u3067 LDAP \u304c\u4f7f\u3048\u308b\u3002<br \/>\nPostfix \u306e\u307b\u3046\u306f\u82e5\u5e72\u5384\u4ecb\u3060\u3063\u305f\u306e\u3060\u3051\u308c\u3069\u3001\u3053\u308c\u3082\u3001cyrus-sasl-saslauthd \u3092\u5165\u308c\u3066\u3001PAM \u7d4c\u7531\u3067 LDAP \u3092\u4f7f\u3046\u306e\u304c\u6b63\u89e3\u307f\u305f\u3044\u3002\u306a\u306e\u3067\u3001pam.d\/smtp \u3092\u66f8\u3044\u3066\u3042\u3052\u308b\u5fc5\u8981\u3082\u3042\u308b\u3002Postfix \u304b\u3089 sasl2 \u3092\u4f7f\u3046\u305f\u3081\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u305f\u3081\u306b\u306f\u307e\u305a\u3001\/usr\/local\/lib\/sasl2\/smtpd.conf \u306b\u3001<br \/>\npwcheck_method: saslauthd<br \/>\nmech_list: PLAIN LOGIN<br \/>\n\u307f\u305f\u3044\u306b\u66f8\u3044\u3066\u3001\/usr\/local\/etc\/postfix\/main.cf \u3067\u306f\u3001<br \/>\nsmtpd_sasl_path = smtpd<br \/>\nsmtpd_sasl_type = cyrus<br \/>\nsmtpd_tls_auth_only = yes<br \/>\n\u3042\u305f\u308a\u304c\u30ad\u30e2\u3002\u7279\u306b\u3001\u6700\u5f8c\u306e\u304c\u3042\u308c\u3070\u3001\u6697\u53f7\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u306e\u8a8d\u8a3c\u306f\u884c\u308f\u308c\u306a\u3044\u3002\u305f\u3068\u3048\u3070\u3053\u3093\u306a\u611f\u3058\u3002\u6697\u53f7\u5316\u3055\u308c\u3066\u306a\u3044\u3068\u3001<br \/>\n% telnet localhost 587<br \/>\nTrying 127.0.0.1&#8230;<br \/>\nConnected to localhost.<br \/>\nEscape character is &#8216;^]&#8217;.<br \/>\n220 hogehoge.my.domain ESMTP Postfix<br \/>\nEHLO localhost<br \/>\n250-hogehoge.my.domain<br \/>\n250-PIPELINING<br \/>\n250-SIZE 10240000<br \/>\n250-VRFY<br \/>\n250-ETRN<br \/>\n250-STARTTLS<br \/>\n250-ENHANCEDSTATUSCODES<br \/>\n250-8BITMIME<br \/>\n250 DSN<br \/>\n% openssl s_client -connect localhost:587 -starttls smtp<br \/>\nCONNECTED(00000003)<br \/>\n(\u3056\u3063\u304f\u308a\u7701\u7565)<br \/>\nEHLO localhost<br \/>\n250-hogehoge.my.domain<br \/>\n250-PIPELINING<br \/>\n250-SIZE 10240000<br \/>\n250-VRFY<br \/>\n250-ETRN<br \/>\n250-AUTH PLAIN LOGIN<br \/>\n250-ENHANCEDSTATUSCODES<br \/>\n250-8BITMIME<br \/>\n250 DSN<br \/>\n250 AUTH PLAIN LOGIN \u304c\u5897\u3048\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308b\u3002<br \/>\nRoundCube \u3082\u3044\u308c\u305f\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3067\u306f\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u306e\u306b\u3001\u672c\u756a\u306e\u74b0\u5883\u3067\u306f\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u306e\u306f\u306a\u3093\u3067\u304b\u306a\u30fc\u3001\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3001config\/main.inc.php \u306b\u3001<br \/>\n\/\/ Automatically add this domain to user names for login<br \/>\n\/\/ Only for IMAP servers that require full e-mail addresses for login<br \/>\n\/\/ Specify an array with &#8216;host&#8217; => &#8216;domain&#8217; values to support multiple hosts<br \/>\n\/\/ Supported replacement variables:<br \/>\n$rcmail_config[&#8216;username_domain&#8217;] = &#8216;hogehoge.my.domain&#8217;;<br \/>\n\u7684\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u3002\u3046\u3061\u306e IMAP \u30b5\u30fc\u30d0\u306f\u30e6\u30fc\u30b6\u540d\u3060\u3051\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u306e\u3067\u3001\u3053\u308c\u3067\u52dd\u624b\u306b\u30c9\u30e1\u30a4\u30f3\u540d\u304c\u4ed8\u52a0\u3055\u308c\u3061\u3083\u3063\u305f\u3089\u3001\u305d\u308a\u3083\u30a8\u30e9\u30fc\u306b\u306a\u308b\u308f\u3001\u3068\u3044\u3046\u308f\u3051\u3067\u3001<br \/>\n$rcmail_config[&#8216;username_domain&#8217;] = &#8221;;<br \/>\n\u3068\u3057\u3066\u89e3\u6c7a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7814\u7a76\u5ba4\u306b\u5b66\u751f\u304c\u914d\u5c5e\u3055\u308c\u3066\u4e00\u5e74\u305f\u3063\u3066\u3001\u5352\u8ad6\u767a\u8868\u3082\u7d42\u308f\u3063\u305f\u306e\u3067\u3001\u82e5\u5e72\u624b\u9045\u308c\u611f\u304c\u3042\u308b\u306e\u3060\u3051\u308c\u3069\u3001\u7814\u7a76\u5ba4\u306e\u30e1\u30fc\u30eb\u74b0\u5883\u3092\u518d\u69cb\u7bc9\u3057\u305f\u3002 \u81ea\u5206\u304c\u4f7f\u3046\u305f\u3081\u306e Postfix + Courier-IMAP \u306b\u3088\u308b\u74b0\u5883\u306f\u3082\u3046\u65e2\u306b\u3067\u304d\u3042\u304c\u3063\u3066 &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2013\/02\/19\/2649\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u7814\u7a76\u5ba4\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u518d\u69cb\u7bc9&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-2649","post","type-post","status-publish","format-standard","hentry","category-unix-"],"_links":{"self":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2649"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2649\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}