.TH NEWALIASES 8 "$Mdocdate: July 19 2013 $" "" .SH NAME .ad l \fB\%newaliases\fP \- rebuild the database for the mail aliases file .SH SYNOPSIS .ad l .br \fB\%newaliases\fP [\fB\-f\fP \fIfile\fP] .SH DESCRIPTION .ad l \fB\%newaliases\fP rebuilds the random access database for the mail aliases file, the location of which is defined in \fBsmtpd.conf\fP(5), and which by default is \fI/etc/aliases\fP. This utility must be run each time the aliases file is changed in order for the change to take effect. .PP The options are as follows: .RS 5 .TP \fB\-f\fP \fIfile\fP Use \fIfile\fP as the configuration file, instead of the default \fI/etc/smtpd.conf\fP. .RE .PP Note: this utility is provided for sendmail compatibility. The preferred way of rebuilding the database is with \fBmakemap\fP(8): .RS 4 .nf # makemap -t aliases /etc/aliases .RE .SH FILES .ad l .RS 5 .TP .B /etc/aliases List of local user mail aliases. .TP .B /etc/virtual List of virtual host aliases. .RE .SH EXIT STATUS .ad l The \fBnewaliases\fP utility exits 0 on success, and >0 if an error occurs. newaliases .SH SEE ALSO .ad l \fBsmtpd.conf\fP(5), \fBmakemap\fP(8) .SH HISTORY .ad l The \fB\%newaliases\fP command first appeared in OpenBSD 4.6 as a replacement for the equivalent command shipped with sendmail.