newaliases(1)
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. It is run automatically by sendmail(1M) (in the default configuration) whenever /etc/mail/aliases is newer than /etc/mail/aliases.pag.
newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags will 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 file(s).
−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
To run 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
Always 0.
FILES
/etc/aliases symbolic link to /etc/mail/aliases.
/etc/mail/aliases.pag
/etc/mail/aliases.dir ndbm files maintained by newaliases.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWnisu |
SEE ALSO
sendmail(1M), aliases(4), attributes(5)
SunOS 5.6 — Last change: 30 May 1997