--- sendmail-8.12.9/sendmail/newaliases.1.orig Wed Oct 10 05:23:17 2001 +++ sendmail-8.12.9/sendmail/newaliases.1 Sat Jan 11 21:32:40 2014 @@ -17,6 +15,7 @@ \- rebuild the data base for the mail aliases file .SH SYNOPSIS .B newaliases + .SH DESCRIPTION .B Newaliases rebuilds the random access data base for the mail aliases file @@ -24,27 +23,61 @@ in order for the change to take effect. .PP .B Newaliases -is identical to ``sendmail -bi''. -.PP -The -.B newaliases -utility exits 0 on success, and >0 if an error occurs. -.PP -Notice: do +is identical to ``sendmail -bi'' and thus accepts all the flags that +\fBsendmail\fR(8) accepts. +However, most of these flags have no effect, except for the \fB-C\fR option and +three of the \fBProcessing\fR \fBOptions\fR that can be set from a +configuration file with the \fB-o\fR option: + +.TP +\fB\fB-C\fR\fI /path/to/alt/config/file\fR\fR +Use alternate configuration file. + +.TP +\fB\fB-oA\fR\fIfile\fR\fR +Specify possible alias files. + +.TP +\fB\fB-oL\fR\fIn\fR\fR +Set the default log level to \fIn\fR. Defaults to \fB9\fR. + +.TP +\fB\fB-on\fR\fR +Validate the \fBRHS\fR of aliases when rebuilding the \fBaliases\fR(5) +database. + +.SH EXIT STATUS + +.TP +\fB0\fR +Successful completion. + +.TP +\fB>0\fR +An error occurred. + +.SH FILES + +.TP 2i +\fB/etc/mail/aliases\fR +The mail aliases file + +.SH SEE ALSO +.LP +\fBaliases\fR(5), \fBsendmail\fR(8) + +.SH NOTE +.LP +Do .B not use .B makemap to create the aliases data base, because .B newaliases -puts a special token into the data base that is required by -.B sendmail. -.SH FILES -.TP 2i -/etc/mail/aliases -The mail aliases file -.SH SEE ALSO -aliases(5), sendmail(8) +puts a special token into the data base that is required by \fBsendmail\fR. + .SH HISTORY +.LP The .B newaliases command appeared in 4.0BSD.