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
If I want to add more than one alias for root, would I add 2 seperate lines or on the same line?
Jan,
Simply add the additional addresses to the existing line, separated by commas.
Regards,
Oliver