An E-Mail alias is simply
a forwarding e-mail address. Each e-mail alias you create
simply forwards e-mail on to any e-mail address that you specify.
E-Mail aliases are often used to create handy replacements
for long or difficult-to-remember e-mail addresses. They can
also be used to create generic e-mail addresses such as firstname.lastname@example.org
For example, say
you want to create a webmaster e-mail alias on the
yourcompany.com Virtual Private Servers that automatically and
immediately forwards to your local ISP e-mail account, email@example.com.
On the yourcompany.com Virtual Private Servers, you would create
an e-mail alias like this:
It's that easy! And
you can create as many e-mail aliases as you want on your
Virtual Private Servers: there's no limit!
An alias can have multiple recipients. For example:
webmaster: firstname.lastname@example.org, someone@YOUR-DOMAIN.NAME
If you have a long list of recipients for an alias, you can use the include
option to look at a list. This also comes in handy if you need to change the list
frequently, since changing the list won't require you to run vnewaliases. To
include a list, use the following format:
listname: :include: /path/to/file
The list file is simply a text file containing one recipient's address per line.
There are a number of other things you can do with the aliases file. More
information can be found in the man page:
% man aliases