.\" Copyright (c) 1998-2001 Proofpoint, Inc. and its suppliers. .\" All rights reserved. .\" Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved. .\" Copyright (c) 1985, 1990, 1993 .\" The Regents of the University of California. All rights reserved. .\" .\" By using this file, you agree to the terms and conditions set .\" forth in the LICENSE file which can be found at the top level of .\" the sendmail distribution. .\" .\" .\" $Id: newaliases.1,v 8.20 2013-11-22 20:51:56 ca Exp $ .\" .TH NEWALIASES 1 "$Date: 2013-11-22 20:51:56 $" .SH NAME newaliases \- 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 /etc/mail/aliases. It must be run each time this file is changed in order for the change to take effect. .PP .B Newaliases 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 \fBsendmail\fR. .SH HISTORY .LP The .B newaliases command appeared in 4.0BSD.