Using Mail Aliases (Part 2):
The listing below is the aliases file that comes with a Red Hat system, with a few additions to illustrate all of these uses.
#
# @(#)aliases 8.2 (Berkeley) 3/5/94
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: |
root |
|
daemon: |
root |
|
adm: |
root |
|
lp: |
root |
|
sync: |
root |
|
shutdown: |
root |
|
halt: |
root |
|
mail: |
root |
|
news: |
root |
|
uucp: |
root |
|
operators: |
root |
|
games: |
root |
|
gopher: |
root |
|
ftp: |
root |
|
nobody: |
root |
|
apache: |
root |
|
named: |
root |
|
xfs: |
root |
|
gdm: |
root |
|
mailnull: |
root |
|
postgres: |
root |
|
squid: |
root |
|
rpcuser: |
root |
|
rpc: |
root |
|
|
|
|
ingres: |
root |
|
system: |
root |
|
toor: |
root |
|
manager: |
root |
|
dumper: |
root |
|
abuse: |
root |
|
|
|
|
newsadm: |
news |
|
newsadmin: |
news |
|
usenet: |
news |
|
ftpadm: |
ftp |
|
ftpadmin: |
ftp |
|
ftp-adm: |
ftp |
|
ftp-admin: |
ftp |
|
webmaster: |
root |
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
root: staff
# System administrator mailing list
staff: kathy, craig, david@parrot, sara@hawk, becky@parrot
owner-staff: staff-request
staff-request: craig
# User aliases
norman.edwards: norm
edwardsn: norm
norm: norm@hawk.foobirds.org
rebecca.hunt: becky@parrot
andy.wright: andy@falcon.foobirds.org
sara.henson: sara@hawk
kathy.McCafferty: kathy
kathleen.McCafferty: kathy
.