On Linux machine, sometimes programs might send emails to your root account.

You can su to root and check the root’s mail box regularly to access those emails or you can follow the instructions below to have all mail sent to you forwarded to a user’s mailbox.

To do so, create file /root/.forward using your favorite editor.
In the example below, the editor nano is used.

$ sudo nano /root/.forward

then add the following line in the file, replace <username> with the user account you like the mail to be forwarded to


That’s it! Now all email sent to root will be forwarded to username@localhost!

Edwin is the founder and editor of Little Handy Tips and Wollongong Fitness. He is also the developer for the Google Custom Search WordPress plugin and Custom About Author WordPress plugin. Find out more about him here.