| Click this button to go to the index for this section. |
praliases(1)
NAME
praliases - display system mail aliasesSYNOPSIS
praliases [-f filename] [--] [alias_name ...]FLAGS
-f Displays the aliases using the specified dbm file instead of the system aliases file.PARAMETERS
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 parameter. Specific aliases can be displayed by specifying one or more alias names. [DIGITAL] Aliases can be created either with or without the terminating null character ('\0') considered to be part of the name. Under DIGITAL UNIX, an attempt is made to find either version; other vendor's implementations may check only for the key with an embedded NULL. [DIGITAL] The system aliases file under DIGITAL UNIX is stored under the /var/adm/sendmail directory. Other vendor's implementations may expect the file to exist under the /etc directory.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_listEXIT VALUES
The following exit values are returned as defined in /usr/include/sysexits.h: 0 No errors occurred. EX_USAGE (64) An invalid argument was specified. EX_OSFILE (72) The specified dbm file does not exists.RELATED INFORMATION
Commands: makemap(1), aliases(4)