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