Computing Topics --> Electronic Mail (E-Mail) --> E-mail Client Applications By Operating System --> Unix --> Berkeley Mail --> How To Configure Mail Aliases In Berkeley Mail -->

How To Configure Mail Aliases In Berkeley Mail

Often it is nice to type only an alias for a person's e-mail address. This is especially useful if the person's e-mail address often changes. To do this in Berkeley Mail do the following.

Create a file called "~/.mailrc" to store the aliases. The format of the file appears as follows:

    alias  alias  real-address

For example, if you want to send mail to "johndoe@glue.umd.edu" and you want to use the alias "john", you would have:

    alias  john  johndoe@glue.umd.edu

Whenever you use an alias ("john") address, it will be automatically expanded to the real address ("johndoe@glue.umd.edu").

To create a list alias titled class, you would enter:

    alias class  addr1  addr2  addr3  addr4  ...

Where addr1 etc., would be either a previously defined alias or a real address. For example you would have:

    alias john johndoe@glue.umd.edu
    alias mary marydoe@glue.umd.edu
    alias does john mary bobdoe@glue.umd.edu

As with the single alias example above, when you type the list alias, it will be expanded to the real e-mail addresses.

How are we doing? Comments on this page?
Office of Information Technology
Office of Information Technology Help Desk Web Site University of Maryland Web Site Office of Information Technology Web Site