Question: How do I manually setup email aliases in Linux?
Answer: Generally speaking, there is probably no reason for you to modify your aliases file manually. In some cases, however, a script will require you to edit the file, and it is important to know where it is and how to access it.
# vi /etc/aliases
# nano -w /etc/aliases
The aliases file is rather simple to use. It is presented in columns with the aliases on the left and the file or mailbox that it points to on the right.
You must edit the file as root and then run the following command also as root:
Photo Source: Flickr