elmalias.1 (2010 09)

e
elmalias(1) elmalias(1)
NAME
elmalias - display and verify elm user and system aliases
SYNOPSIS
elmalias [-dersu][-a
-f format-n-v-V][alias-name-list]
Remarks
The former functionality of the
elmalias command has been taken over by the
newalias command
(see newalias (1)).
DESCRIPTION
The
elmalias command displays and verifies user and system
elm aliases.
The system database must have been created by the
newalias command (see newalias (1)). The user
database must have been created by either the
newalias command or the elm mail system (see elm(1)).
If the same alias is in both databases, the user version is used. Missing database files are silently
ignored.
Each database entry can have the following fields, which are described in detail in newalias (1):
alias-list A list of one or more aliases for the entry.
address-list A list of one or more addresses for the entry. An address can be an alias from
another entry’s alias-list .
comment An optional field containing information about the entry. This field is not included
in outbound mail.
firstname An optional field interpreted as the first name of the person or group. It is used in
fullname .
lastname An optional field interpreted as the last name of the person or group. It is used in
fullname .
fullname A combination value made up from the firstname and lastname fields, in the form:
firstname lastname.
elmalias recognizes three types of alias names:
person A database entry that has one address in address-list . elmalias assumes this
address is a valid mailing address.
group A database entry that has two or more addresses in address-list . elmalias
assumes initially that these addresses are aliases to person or group entries.
unknown An address in a group entry or an alias in alias-name-list that is not an alias in
the database. In both cases, the item is reported as both the alias name and its
address.
With no options or operands,
elmalias displays the address-list field for each alias in the two data-
bases. If an entry has more than one alias, the address-list field is displayed multiple times.
With an alias-name-list and no options,
elmalias displays the address-list field of each alias name in
the list. If an alias name is not found in the databases, it is treated as unknown, without comment.
Options
elmalias recognizes the following options:
-a Change the display to alias name followed by address-list field.
-d Turn debugging on.
-e Fully expand group aliases. This option can be used only when an alias-name-list
is given.
If an address in a
group address list is an alias name, it is replaced by that alias
entry. The process is recursive until the results are either person or unknown
types. If a group address is not an alias name, it is reported as both the alias
name and the address, with type unknown. Duplicate alias names are reported
only once. person entries are not expanded, even if their addresses are actually
aliases.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (4 pages)