configuration-guide.com

simple configuration guide for your computer related tasks

Menu
Menu

how to forward root mail in linux

Posted on January 9, 2013 by voidzzz

to forward mail sent to root in your linux box to another recipient, you can simply do the following:

  1. edit /etc/aliases. if you want to forward root mail you can simply add the following line (if not exist yet) : root:yourname@yourdomain.comyou can do this for other users too. don’t forget to refresh your aliases database by invoking newaliases command.
  2. create /root/.forward file and put e-mail address/es you would like the mail to be forward to in that file.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

User Control Panel

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Configuration Category

©2022 configuration-guide.com | Built using WordPress and Responsive Blogily theme by Superb