{"id":579,"date":"2023-11-23T07:33:16","date_gmt":"2023-11-23T12:33:16","guid":{"rendered":"https:\/\/muthii.com\/blog\/?p=579"},"modified":"2023-11-23T07:36:14","modified_gmt":"2023-11-23T12:36:14","slug":"forward-root-mail-to-a-user","status":"publish","type":"post","link":"https:\/\/muthii.com\/blog\/?p=579","title":{"rendered":"Forward ROOT mail to a user"},"content":{"rendered":"\n<p>To forward all root emails to a user you can add an entry in the aliases file, like:<\/p>\n\n\n\n<p>root: sam<\/p>\n\n\n\n<p>After updating the aliases run the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">newaliases \/etc\/aliases<\/pre>\n\n\n\n<p>Restart your mail server and you should see all root emails being sent to the user specified in the aliases file. A different process can be used to achieve the same behavior by making an entry in the .forward file of the root but I haven&#8217;t tried that as I prefer to have it done with aliases.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To forward all root emails to a user you can add an entry in the aliases file, like: root: sam After updating the aliases run the command below. newaliases \/etc\/aliases Restart your mail server and you should see all root emails being sent to the user specified in the aliases file. A different process can &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/muthii.com\/blog\/?p=579\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Forward ROOT mail to a user&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[155],"_links":{"self":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/579"}],"collection":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=579"}],"version-history":[{"count":4,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/579\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/579\/revisions\/584"}],"wp:attachment":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}