Aliases and distribution lists

By creating aliases and distribution lists, you can manage the addressees and addresses that you commonly use with greater ease.

Before creating an alias or distribution list, make sure that the following conditions are true:

  1. The mail program must be installed on your system.
  2. You must know the names and addresses of users you want to include in your alias or distribution list.

You can create an alias or distribution list in the following ways:

Item Description
alias kath kathleen@gtwn
In this example, the alias kath has been listed for user kathleen at address gtwn. After you have added this line to your $HOME/.mailrc file, to send a message to Kathleen, type the following at the command line prompt:
mail kath

You are now able to send mail to Kathleen using the kath alias.

alias dept dee@merlin anne@anchor jerry@zeus bill carl
After you have added this line to your $HOME/.mailrc file, to send a message to your department, type the following at the command line prompt:
mail dept

The message you now create and send will go to dee on system merlin, anne on system anchor, jerry on system zeus, and to bill and carl on the local system.

To list the aliases and distribution lists, type the following at the mailbox prompt:

alias
OR
a

A list of aliases and distribution lists is displayed.