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 dif-
ferent from the /etc/mail/aliases default in sendmail(1M):
example% newaliases -oA/path/to/alternate/alias/file
SunOS 5.11 Last change: 14 Sep 2001 1
System Administration Commands newaliases(1M)
EXIT STATUS
newaliases returns an exit status describing what it did.
The codes are defined in /usr/include/sysexits.h.
EXOK Successful completion on all addresses.
EXNOUSER User name not recognized.
EXUNAVAILABLE Catchall. Necessary resources were not
available.
EXSYNTAX Syntax error in address.
EXSOFTWARE Internal software error, including bad
arguments.
EXOSER Temporary operating system error, such as
"cannot fork".
EXNOHOST Host name not recognized.
EXTEMPFAIL 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
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 14 Sep 2001 2
System Administration Commands newaliases(1M)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWsndmu
SEE ALSO
sendmail(1M), aliases(4), attributes(5)
SunOS 5.11 Last change: 14 Sep 2001 3
|