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

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.