HP-UX Mailing Services Administrator's Guide

Configuring and Administering Sendmail
Creating Sendmail Aliases
Chapter 2 63
An alias can be continued across multiple lines in the aliases file. Lines
beginning with blanks or tabs are continuation lines.
The aliases file can contain comment lines, which begin with the pound
sign (#). Blank lines in the aliases file are ignored.
NOTE You cannot address messages directly to file names, command lines, or
:include files. Sendmail will deliver messages to these only if they
appear in the right side of an alias definition.
Configuring Owners for Mailing Lists
Sendmail enables you to configure an owner for a mailing list, because
the sender of a message often does not control the mailing list to which
the message is addressed. If Sendmail encounters an error while
attempting to deliver a message to the members of a mailing list, it looks
for an alias of the form owner-
mailing_list
and sends the error
message to the owner. For example, if mike were responsible for
maintaining the chess_club mailing list, he could be configured as the
owner:
:include:
filename
Any mail addressed to the alias is sent to all
the recipients listed in the included file. The
file must be a full pathname. Nonroot users
can create :include files to maintain their
mailing lists. An :include file can contain
anything that is specified in the right side of
an alias definition. Following is an example
alias definition:
dogbreeders: :include:/users/andrea/dogb
reeders
Following is an example :include file:
#file included in dogbreeders alias defi
nition: terriers@akc.ny.com, coonhounder
s@ukc.sc.com
Table 2-1 Mailing List Options (Continued)
Option Description