[ Team LiB ] Previous Section Next Section

Creating a Local Mail Alias (/etc/mail/aliases)

In a network environment, you probably have a central way to administer mail aliases. In addition, users frequently want to set up local aliases for use from their systems. Use the following steps to create mail aliases on a local system.

  1. Become superuser.

  2. Edit the /etc/mail/aliases file.

  3. At the end of the file, under the Local Aliases category, type aliasname:username1,username2,... and press Return after the last username.

  4. Save the changes.

For example, if you want to create an alias called friends, edit the /etc/mail/aliases file and add an entry like the following.


    [ Team LiB ] Previous Section Next Section