{"id":4097,"date":"2024-11-22T17:21:09","date_gmt":"2024-11-22T08:21:09","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=4097"},"modified":"2025-02-16T11:46:56","modified_gmt":"2025-02-16T02:46:56","slug":"%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e3%81%8b%e3%82%89%e3%81%ae%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%8c%e5%bc%be%e3%81%8b%e3%82%8c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=4097","title":{"rendered":"\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30e1\u30fc\u30eb\u304c\u5f3e\u304b\u308c\u308b"},"content":{"rendered":"\r\n<p>\u5404\u7a2e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30e1\u30fc\u30eb\u306e\u4e2d\u306b\u306f\u9001\u4fe1\u8005\u304croot@localhost.localdomain \u306b\u306a\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u3001\u3053\u308c\u304c\u30c1\u30a7\u30c3\u30af\u306b\u5f15\u3063\u304b\u304b\u308a\u30b5\u30fc\u30d0\u30fc\u3067\u5f3e\u304b\u308c\u308b\u3002\u7406\u7531\u306flocalhost.localdomain \u4f55\u3066\u30c9\u30e1\u30a4\u30f3\u306f\u7121\u3044\u3002\u5f53\u305f\u308a\u524d\u3060DNS\u306b\u306f\u767b\u9332\u304c\u7121\u3044\u3002<\/p>\r\n\r\n\r\n\r\n<p><a href=\"http:\/\/www.support.nec.co.jp\/View.aspx?id=3150114618\" target=\"_blank\" rel=\"noopener\">http:\/\/www.support.nec.co.jp\/View.aspx?id=3150114618<\/a> \u3092\u53c2\u8003\u306b\u3057\u305f\u3002<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit \/etc\/crontab<\/span><br \/><span style=\"color: #0000ff;\">SHELL=\/bin\/bash<\/span><br \/><span style=\"color: #0000ff;\">PATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin<\/span><br \/><span style=\"color: #0000ff;\">MAILTO=root<\/span><br \/><span style=\"color: #0000ff;\">MAILFROM=root@example.co.jp<\/span>\u3000\u2192\u3000\u3053\u308c\u3092\u8ffd\u8a18\u30fb\u81ea\u5206\u306e\u30e1\u30a2\u30c9\u306b\u5909\u66f4\u306e\u4e8b<br \/>\u5f8c\u7565<br \/>\u6b21\u306b<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit \/etc\/anacrontab<\/span><br \/><span style=\"color: #0000ff;\">MAILTO=root<\/span><br \/><span style=\"color: #0000ff;\">MAILFROM=root@example.co.jp<\/span>\u3000\u2192\u3000\u3053\u308c\u3092\u8ffd\u8a18<br \/>\u5f8c\u7565<br \/>\u6b21\u306b\u4e0b\u8a18\u3092\u4f5c\u6210<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit \/etc\/postfix\/sender_canonical.map<\/span><br \/><span style=\"color: #0000ff;\">root@localhost.localdomain root@example.co.jp<\/span>\u3000\u2192\u3000\u3053\u306e1\u884c\u3092\u66f8\u304d\u8fbc\u307f<\/p>\r\n<p>\/etc\/postfix\/sender_canonical.map\u306eDB\u5316<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">cd \/etc\/postfix<\/span><br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">postmap sender_canonical.map<\/span><br \/>\u6b21\u306bmain.cf\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit \/etc\/postfix\/main.cf<br \/><span style=\"color: #0000ff;\"># localhost@&#8230;&#8230; \u30e1\u30fc\u30eb\u304c\u5f3e\u304b\u308c\u308b\u6642\u3001\u8ffd\u8a18<\/span><br \/><\/span><span style=\"color: #0000ff;\">sender_canonical_classes = envelope_sender, header_sender<\/span><br \/><span style=\"color: #0000ff;\">sender_canonical_maps = hash:\/etc\/postfix\/sender_canonical.map<\/span>\u3000\u3000\u2192\u3000\u3000\u3053\u306e2\u884c\u3092\u6700\u5f8c\u306b\u8ffd\u8a18<\/p>\r\n<p>\u305d\u3057\u3066postfix\u3092\u518d\u8d77\u52d5<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">systemctl restart postfix<\/span><\/p>\r\n<p>\u305d\u3057\u3066\u30e1\u30fc\u30eb\u304c\u6765\u308b\u304b\u30c6\u30b9\u30c8<br \/><span style=\"color: #ff6600;\">$ <\/span><span style=\"color: #008000;\">echo test | mail root<\/span><br \/>\u3088\u304b\u3063\u305f\u3001\u3061\u3083\u3093\u3068\u5c4a\u3044\u3066\u3044\u308b\u3002<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u7a2e\u30b5\u30fc\u30d0\u30fc\u304b\u3089\u306e\u30e1\u30fc\u30eb\u306e\u4e2d\u306b\u306f\u9001\u4fe1\u8005\u304croot@localhost.localdomain \u306b\u306a\u3063\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u3001\u3053\u308c\u304c\u30c1\u30a7\u30c3\u30af\u306b\u5f15\u3063\u304b\u304b\u308a\u30b5\u30fc\u30d0\u30fc\u3067\u5f3e\u304b\u308c\u308b\u3002\u7406\u7531\u306flocalhost.localdomain \u4f55\u3066\u30c9 &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=4097\">\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":{"_acf_changed":false,"vkexunit_cta_each_option":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-4097","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4097"}],"version-history":[{"count":5,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4097\/revisions"}],"predecessor-version":[{"id":4209,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4097\/revisions\/4209"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4097"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4097"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}