Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

praliases(1) [opensolaris man page]

praliases(1)							   User Commands						      praliases(1)

NAME
praliases - display system mail aliases SYNOPSIS
praliases [-C configfile] [-f aliasfile] [key] DESCRIPTION
The praliases utility displays system mail aliases. When no key is given, praliases displays the current system aliases, one per line, in no particular order. The form is key:value. If a key is given, only that key is looked up and the appropriate key:value is displayed if found. OPTIONS
The following options are supported: -C configfile Specifies a sendmail configuration file. -f aliasfile Reads the specified file aliasfile instead of the default sendmail system aliases file. OPERANDS
The following operands are supported: key A specific alias key to look up. EXIT STATUS
The following exit values are returned: 0 Successful operation. >0 An error occurred. FILES
/etc/mail/aliases Default sendmail system aliases file /etc/mail/aliases.db Database versions of the /etc/mail/aliases file /etc/mail/aliases.dir Database versions of the /etc/mail/aliases file /etc/mail/aliases.pag /etc/mail/sendmail.cf Default sendmail configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ SEE ALSO
mailq(1), newaliases(1M), sendmail(1M), attributes(5) SunOS 5.11 29 Mar 2004 praliases(1)

Check Out this Related Man Page

newaliases(1M)						  System Administration Commands					    newaliases(1M)

NAME
newaliases - rebuild the data base for the mail aliases file SYNOPSIS
newaliases DESCRIPTION
newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases. newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags have no effect, except for the -C option and three of the Processing Options that can be set from a configuration file with the -o option: -C /path/to/alt/config/file Use alternate configuration file. -oAfile Specify possible alias files. -oLn Set the default log level to n. Defaults to 9. -on Validate the RHS of aliases when rebuilding the aliases(4) database. newaliases runs in verbose mode (-v option) automatically. EXAMPLES
Example 1: Running the newaliases Command The following command runs newaliases on an alias file different from the /etc/mail/aliases default in sendmail(1M): example% newaliases -oA/path/to/alternate/alias/file EXIT STATUS
newaliases returns an exit status describing what it did. The codes are defined in /usr/include/sysexits.h. EX_OK Successful completion on all addresses. EX_NOUSER User name not recognized. EX_UNAVAILABLE Catchall. Necessary resources were not available. EX_SYNTAX Syntax error in address. EX_SOFTWARE Internal software error, including bad arguments. EX_OSERR Temporary operating system error, such as "cannot fork". EX_NOHOST Host name not recognized. EX_TEMPFAIL Message could not be sent immediately, but was queued. FILES
/etc/aliases Symbolic link to /etc/mail/aliases /etc/mail/aliases.pag /etc/mail/aliases.dir ndbm files maintained by newaliases /etc/mail/aliases.db Berkeley DataBase file maintained by newaliases ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+ SEE ALSO
sendmail(1M), aliases(4), attributes(5) SunOS 5.10 14 Sep 2001 newaliases(1M)
Man Page