{"id":2826,"date":"2014-03-05T01:58:43","date_gmt":"2014-03-04T16:58:43","guid":{"rendered":"http:\/\/www.frontier-line.org\/lognote\/?p=2826"},"modified":"2014-03-05T02:07:07","modified_gmt":"2014-03-04T17:07:07","slug":"%e5%ae%9f%e3%81%af%e7%8b%99%e3%81%84%e9%80%9a%e3%82%8a%e3%81%ab%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e9%80%81%e3%82%8c%e3%81%a6%e3%81%aa%e3%81%8b%e3%81%a3%e3%81%9f%e3%81%8c%e8%a7%a3%e6%b1%ba","status":"publish","type":"post","link":"http:\/\/www.frontier-line.org\/lognote\/?p=2826","title":{"rendered":"\u5b9f\u306f\u72d9\u3044\u901a\u308a\u306b\u30e1\u30fc\u30eb\u304c\u9001\u308c\u3066\u306a\u304b\u3063\u305f\u304c\u89e3\u6c7a"},"content":{"rendered":"<p>\u3000<a href=\"http:\/\/www.frontier-line.org\/lognote\/?p=2808\" target=\"_blank\">\u30e1\u30fc\u30eb\u304c\u9001\u308c\u306a\u304f\u3066\u7126\u308b<\/a>\u306e\u7d9a\u304d\u3002\u5b9f\u306f\u89e3\u6c7a\u3057\u3066\u306a\u304b\u3063\u305f\u3002<br \/>\n\u3000\u4f55\u3067\u554f\u984c\u304c\u767a\u899a\u3057\u306a\u304b\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u624b\u5143\u306e\u7aef\u672b\u304b\u3089SSH\u30c8\u30f3\u30cd\u30ea\u30f3\u30b0\u3067\u63a5\u7d9a\u3057\u3066\u3001localhost\u3064\u307e\u308a\u624b\u5143\u306e\u30d1\u30bd\u30b3\u30f3\u306eSSH\u306b\u5411\u3051\u3066\u30e1\u30fc\u30eb\u9001\u4fe1\u3092\uff11\u56de\u3084\u3063\u3066\u3057\u307e\u3046\u3068\u3001\u3069\u3053\u304b\u306b\u305d\u306e\u60c5\u5831\u304c\u8a18\u9332\u3055\u308c\u3066\u3057\u307e\u3044\u3001\u3046\u3063\u304b\u308a\u30c7\u30d5\u30a9\u30eb\u30c8\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u3092localhost\u306b\u3057\u305f\u307e\u307e\u3060\u3068\u30e1\u30fc\u30eb\u304c\u9001\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u305f\u304b\u3089\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3092frontier-line.org\u306b\u3057\u3066\u63a5\u7d9a\u5931\u6557\u3067\u4eca\u65e5\u306b\u306a\u3063\u3066\u767a\u899aorz\u3002<br \/>\n\u3000\u539f\u56e0\u306f\u4ee5\u524d\u66f8\u3044\u305f\u901a\u308a\u3067\u89e3\u6c7a\u7b56\u3082\u5927\u4f53\u4ee5\u524d\u66f8\u3044\u305f\u901a\u308a\u306a\u3093\u3060\u3051\u3069\u3001\uff14\u6642\u9593\u307b\u3069\u306a\u306b\u3052\u306b\u5d4c\u307e\u3063\u305f\u3002\u305d\u306e\u539f\u56e0\u306f\u3001\u6700\u521d\u306b\u30bd\u30fc\u30b9\u304b\u3089postfix\u3092\u5165\u308c\u308b\u2192\u4f55\u304b\u3046\u307e\u304f\u884c\u304b\u306a\u3044\u2192ports\u304b\u3089\u5165\u308c\u308b\u3001\u3092\u3084\u3063\u3066\u3057\u307e\u3044\u3001\u30bd\u30fc\u30b9\u304b\u3089\u5165\u308c\u305f\u6642\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\/etc\/postfix\u306e\u4e0b\u3001ports\u304b\u3089\u5165\u308c\u305f\u6642\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\/usr\/local\/etc\/portfix\u306e\u4e0b\u3001\u3067\u3001\u6848\u306e\u5b9a\/etc\/postfix\u306e\u65b9\u3092\u3044\u3058\u3063\u3066\u3044\u3066\u4f55\u3067\u8a2d\u5b9a\u304c\u53cd\u6620\u3055\u308c\u306a\u3044\u306e\u304b\u3068\u60a9\u307f\u307e\u304f\u308b\u3068\u3044\u3046\u3001\u307e\u3042\u3001\u3042\u308b\u3042\u308b\u3042\u308b\u2026\u2026\u306a\u30aa\u30c1\u3002<br \/>\n\u3000\u89e3\u6c7a\u306e\u4f5c\u696d\u306e\u524d\u306b\u3068\u308a\u3042\u3048\u305a\u78ba\u8a8d\u3002<br \/>\ngrep submission \/etc\/services<br \/>\n\u3067\u3001<br \/>\nsubmission\t587\/tcp<br \/>\nsubmission\t587\/udp<br \/>\n\u304c\u51fa\u308c\u3070\u3001\u30b5\u30d6\u30df\u30c3\u30b7\u30e7\u30f3\u30dd\u30fc\u30c8\u306f\u4e88\u7d04\u6e08\u307f\u3002<br \/>\n\/usr\/local\/etc\/portfix\/master.cf\u3067\u3001\u6b21\u306e\uff12\u884c\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3092\u5916\u3057\u3066\u6709\u52b9\u306b\u3059\u308b\u3002POP before SMTP\u3067\u8a8d\u8a3c\u6e08\u307f\u306a\u306e\u3067\u3001\u4ed6\u306e\u8a8d\u8a3c\u30aa\u30d7\u30b7\u30e7\u30f3\u95a2\u4fc2\u306f\u3059\u3079\u3066\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u304f\u3002<br \/>\nsubmission inet n       &#8211;       n       &#8211;       &#8211;       smtpd<br \/>\n  -o syslog_name=postfix\/submission<br \/>\n2\u884c\u76ee\u79fb\u884c\u306e\u884c\u982d\u30b9\u30da\u30fc\u30b9\u306f\u5fc5\u9808\u3002<br \/>\nservice postfix restart\u3042\u308b\u3044\u306fpostfix reload\u3067\u5909\u66f4\u3092\u53cd\u6620\u3055\u305b\u308b\u3002<br \/>\nnetstat -na | grep 587<br \/>\n\u3067\u3001<br \/>\ntcp4       0      0 *.587                  *.*                    LISTEN<br \/>\n\u3068\u51fa\u308b\u3057\u3001 sockstat -4l\u3067\u3082\u3001<br \/>\nroot     master     2708  17 tcp4   *:587                 *:*<br \/>\n\u3068\u306a\u3063\u3066\u3001\u78ba\u304b\u306b\u30dd\u30fc\u30c8587\u3067\u5f85\u3063\u3066\u307e\u3059\u3088\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u305f\u3002\u5ff5\u306e\u305f\u3081telnet localhost 587\u3092\u5b9f\u884c\u3057\u3066\u63a5\u7d9a\u3067\u304d\u308b\u3053\u3068\u3082\u78ba\u8a8d\u3057\u305f\u3002<br \/>\n<br \/>\n\u3000\u3055\u3066\u3001\u30e1\u30fc\u30eb\u3092\u9001\u308d\u3046\u3068\u3059\u308b\u3068\u3001\u30b5\u30fc\u30d0\u306b\u63a5\u7d9a\u306f\u3067\u304d\u308b\u3082\u306e\u306e\u3001<br \/>\n454 4.7.1  Relay access denied<br \/>\n\u3068\u306a\u308b\u3002<br \/>\n\/usr\/local\/sbin\/postconf  | grep mail_version<br \/>\n\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001port\u304b\u3089\u5165\u3063\u305f\u306e\u306f2.10.1\u3060\u3063\u305f\u30022.9\u4ee5\u524d\u3067\u306fsmtpd_recipient_restrictions\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u30012.10\u79fb\u884c\u3067\u306fsmtpd_relay_restrictions\u3067\u8a2d\u5b9a\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u53e4\u3044\u307e\u307e\u306b\u3057\u3066\u3044\u305f\u306e\u3067\u51fa\u305f\u30a8\u30e9\u30fc\u3002\/usr\/local\/etc\/postfix\/main.cf\u306b<br \/>\nsmtpd_relay_restrictions = permit_mynetworks, check_client_access,btree:\/usr\/local\/etc\/dracd,check_relay_domains,reject<br \/>\n\u3068\u66f8\u3044\u3066\u3082\u3046\uff11\u56depostfix reload\u3057\u3066\u3001\u7121\u4e8b\u9001\u4fe1\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000\u30e1\u30fc\u30eb\u304c\u9001\u308c\u306a\u304f\u3066\u7126\u308b\u306e\u7d9a\u304d\u3002\u5b9f\u306f\u89e3\u6c7a\u3057\u3066\u306a\u304b\u3063\u305f\u3002 \u3000\u4f55\u3067\u554f\u984c\u304c\u767a\u899a\u3057\u306a\u304b\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u624b\u5143\u306e\u7aef\u672b\u304b\u3089SSH\u30c8\u30f3\u30cd\u30ea\u30f3\u30b0\u3067\u63a5\u7d9a\u3057\u3066\u3001localhost\u3064\u307e\u308a\u624b\u5143\u306e\u30d1\u30bd\u30b3\u30f3\u306eSSH\u306b\u5411\u3051\u3066\u30e1\u30fc\u30eb\u9001\u4fe1\u3092\uff11\u56de\u3084\u3063\u3066\u3057\u307e\u3046 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2826","post","type-post","status-publish","format-standard","hentry","category-computers"],"_links":{"self":[{"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2826"}],"version-history":[{"count":0,"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=\/wp\/v2\/posts\/2826\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2826"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.frontier-line.org\/lognote\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}