{"id":3925,"date":"2024-04-21T12:25:26","date_gmt":"2024-04-21T03:25:26","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=3925"},"modified":"2024-04-21T12:26:44","modified_gmt":"2024-04-21T03:26:44","slug":"dovecot%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=3925","title":{"rendered":"dovecot\u306e\u8a2d\u5b9a"},"content":{"rendered":"\r\n<p><span style=\"color: #ff00ff;\">\u6ce8\u610f\uff1a\u3053\u306e\u8a2d\u5b9a\u306fhttps:\/\/centossrv.com\/almalinux\/\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u7d42\u4e86\u3057\u3066\u3044\u308b\u524d\u63d0\u3067\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/span>(\u4f46\u3057\u30015. \u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u81ea\u52d5\u6697\u53f7\u5316\u30687. \u30e1\u30fc\u30eb\u81ea\u52d5\u8fd4\u4fe1\u6a5f\u80fd\u5c0e\u5165\u306f\u3084\u3063\u3066\u3044\u307e\u305b\u3093\uff09<\/p>\r\n<p>\uff11\uff1adovecot\u306e\u30ed\u30b0\u3092\u5206\u3051\u308b<br \/>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3053\u306e\u30ed\u30b0\u306fmail.log\u306b\u8a18\u5165\u3055\u308c\u308b\u306e\u3067\u3001\u5225\u306e\u30ed\u30b0\u306b\u5206\u3051\u307e\u3059\u3002<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit \/etc\/dovecot\/conf.d\/10-logging.conf<\/span><br \/><span style=\"color: #0000ff;\">#log_path = syslog<\/span>\u3000\u306e\u4e0b\u306b<br \/><span style=\"color: #0000ff;\"><span class=\"crayon-i\">log_path<\/span><span class=\"crayon-h\"> <\/span>=<span class=\"crayon-h\"> <\/span>\/<span class=\"crayon-t\">var<\/span>\/<span class=\"crayon-i\">log<\/span>\/<span class=\"crayon-i\">dovecot<\/span><\/span><span class=\"crayon-e\"><span style=\"color: #0000ff;\">.log<\/span>\u3000\u8ffd\u8a18<\/span><\/p>\r\n<p><span class=\"crayon-e\">\u30ed\u30b0\u30ed\u30c6\u30a3\u30c8\u306e\u8a2d\u5b9a<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">gedit <span class=\"crayon-c\">\/etc\/logrotate.d\/dovecot<\/span><\/span><br \/><span style=\"color: #0000ff;\">\/var\/log\/dovecot.log {<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 weekly<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 rotate 4<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 missingok<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 notifempty<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 compress<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 delaycompress<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 sharedscripts<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 postrotate<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 doveadm log reopen<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0 endscript<\/span><br \/><span style=\"color: #0000ff;\">}<\/span><\/span><\/p>\r\n<p><span class=\"crayon-e\">dovecot\u306ereload<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">systemctl reload dovecot<\/span><br \/><\/span><\/p>\r\n<p><span style=\"color: #ff0000;\">\u8a18\u5165\u9014\u4e2d<\/span><\/p>\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u610f\uff1a\u3053\u306e\u8a2d\u5b9a\u306fhttps:\/\/centossrv.com\/almalinux\/\u3067\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u3092\u7d42\u4e86\u3057\u3066\u3044\u308b\u524d\u63d0\u3067\u8a2d\u5b9a\u3092\u3057\u3066\u3044\u307e\u3059\u3002(\u4f46\u3057\u30015. \u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3067\u6dfb\u4ed8\u30d5\u30a1\u30a4\u30eb\u81ea\u52d5\u6697\u53f7\u5316\u30687. \u30e1\u30fc\u30eb\u81ea\u52d5\u8fd4\u4fe1\u6a5f\u80fd\u5c0e &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=3925\">\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":[32],"tags":[],"class_list":["post-3925","post","type-post","status-publish","format-standard","hentry","category-dovecot"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/3925","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=3925"}],"version-history":[{"count":4,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/3925\/revisions"}],"predecessor-version":[{"id":3929,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/3925\/revisions\/3929"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}