HP-UX Mailing Services Administrator's Guide

Configuring and Administering Sendmail
Creating Sendmail Aliases
Chapter 2 61
where alias is the local address, local user name, or local alias, and
mailing_list is a comma-separated list of local user names or
aliases, remote addresses, file names, commands, or included files.
Table 2-1 describes the options that can be included in a mailing list.
3. Issue the following command to regenerate the aliases database from
the /etc/mail/aliases file:
/usr/sbin/newaliases
This command creates the aliases database located in
/etc/mail/aliases.
Table 2-1 Mailing List Options
Option Description
user_name
Sendmail looks up the aliases database for the
local user name unless you put a backslash (\)
before the local user name. To prevent
Sendmail from performing unnecessary alias
lookups, put backslashes before local user
names. For example:
local_users: \amy, \carrie, \sandy,
\anne,\david,\tony
remote_users: mike, denise
mike: mike@chem.tech.edu
denise: bigvax!amlabs!denise
remote_address
The remote address syntax that Sendmail
understands is configured in the Sendmail
configuration file and usually includes RFC
822 style addressing (
user
@
domain
) and
UUCP style addressing (
host
!
user
). For
example:
chess_club: mike@chem.tech.edu,
marie@buffalo, bigvax!amlabs!denise