How do I forward root’s mail to another email address?

It may be useful to create an alias for the root user’s email address, so that another user or group of users receives important system messages.

  • Open the /etc/aliases file for editing
vim /etc/aliases
  • Append a line to the bottom redirecting mail to an external email address
root:           dawit. gebru @epicor.com
  • Refresh the aliases database
newaliases

2 thoughts on “How do I forward root’s mail to another email address?”

  1. If I want to add more than one alias for root, would I add 2 seperate lines or on the same line?

    1. Jan,

      Simply add the additional addresses to the existing line, separated by commas.

      Regards,

      Oliver

Comments are closed.