praliases(1) — Commands
NAME
praliases − display system mail aliases
SYNOPSIS
praliases [−f filename] [−−] [alias_name...]
OPTIONS
−fDisplays the aliases using the specified dbm file instead of the system aliases file.
OPERANDS
alias_name
The alias name to find. If no aliases are given, then the entire contents of the dbm file are displayed.
DESCRIPTION
The praliases command displays system aliases used by the sendmail(8) program. If no arguments are given, the praliases command displays all of the system aliases contained in the file /var/adm/sendmail/aliases.
An alternative file can be specified using the −f option.
Specific aliases can be displayed by specifying one or more alias names.
[Tru64 UNIX] Aliases can be created either with or without the terminating null character (’\0\’) considered to be part of the name. Under Tru64 UNIX, an attempt is made to find either version; other vendor’s implementations may check only for the key with an embedded NULL.
[Tru64 UNIX] The system aliases file under Tru64 UNIX is stored under the /var/adm/sendmail directory. Other vendor’s implementations may expect the file to exist under the /etc directory.
EXIT STATUS
The following exit values are returned as defined in /usr/include/sysexits.h:
0No errors occurred.
EX_USAGE (64)
An invalid argument was specified.
EX_OSFILE (72)
The specified dbm file does not exists.
EXAMPLES
1.To display all of the system aliases, enter:
praliases
2.To display a mailing list called foo, enter:
praliases foo
3.To display the contents of a dbm file my_list, enter:
praliases -f my_list