DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

aliases(SFF)


aliases -- aliases file for sendmail

Format

name: addr_1, addr_2, addr_3, ...

Description

This file describes user ID aliases used by /usr/lib/sendmail. It is formatted as a series of lines of the form:

name: addr_1, addr_2, addr_3, ...

name is an alias that represents the list of addr_n. addr_n can be another alias, a local username, a local filename, a command, an include file, or an external address.


username
must be available via getpwnam(S).

/path/name
messages are appended to the file specified by the full pathname (starting with a slash (/)).

|command
starting with a pipe symbol (|), it receives messages via standard input.

:include: /path/name
aliases in pathname are added to the aliases for name.

user@domain
an address in RFC 822 format.
Lines beginning with white space are continuation lines. Another way to continue lines is by placing a backslash directly before a newline. Lines beginning with ``#'' are comments.

When sendmail receives a message addressed to name, it expands name into the list of addr_n and sends the message to each addr_n in the list.

Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.

After aliasing has been done, local and valid recipients who have a .forward file in their home directory have messages forwarded to the list of users defined in that file.

This is only the raw data file; the actual aliasing information is placed into a binary format in the file /usr/lib/mail/aliases.db using the program newaliases(ADMN). The newaliases(ADMN) command should be executed each time the /usr/lib/mail/aliases file is changed for the change to take effect.

Files

/usr/lib/mail/aliases

See also

newaliases(ADMN), sendmail(ADMN)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003