Query: newaliases
OS: opensolaris
Section: 1m
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
newaliases(1M) System Administration Commands newaliases(1M)NAMEnewaliases - rebuild the data base for the mail aliases fileSYNOPSISnewaliasesDESCRIPTIONnewaliases 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.EXAMPLESExample 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/fileEXIT STATUSnewaliases 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 newaliasesATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsndmu | +-----------------------------+-----------------------------+SEE ALSOsendmail(1M), aliases(4), attributes(5) SunOS 5.11 14 Sep 2001 newaliases(1M)
Related Man Pages |
---|
newaliases(1m) - opensolaris |
aliases(4) - opensolaris |
aliases(4) - osf1 |
forward(4) - sunos |
forward(4) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Configure e-mail |
Help with mail command |
etc aliases |
/etc/aliases & Sendmail |
Question on email aliases |