1NEWALIASES(8)               System Manager's Manual              NEWALIASES(8)
2
3
4

NAME

6       newaliases - rebuild the database for the mail aliases file
7

SYNOPSIS

9       newaliases [-f file]
10

DESCRIPTION

12       newaliases rebuilds the random access database for the mail aliases
13       file, the location of which is defined in smtpd.conf(5), and which by
14       default is /etc/opensmtpd/aliases.  If using database (db) files this
15       utility must be run every time the aliases(5) file is changed.
16
17       The options are as follows:
18
19            -f file
20                   Use file as the configuration file, instead of the default
21                   /etc/opensmtpd/smtpd.conf.
22
23       Note: this utility is provided for sendmail compatibility.  The pre‐
24       ferred way of rebuilding the database is with makemap(8):
25           # makemap -t aliases /etc/opensmtpd/aliases
26

FILES

28            /etc/opensmtpd/aliases
29                   List of local user mail aliases.
30
31            /etc/opensmtpd/virtual
32                   List of virtual host aliases.
33

EXIT STATUS

35       The newaliases utility exits 0 on success, and >0 if an error occurs.
36       newaliases
37

SEE ALSO

39       smtpd.conf(5), makemap(8)
40

HISTORY

42       The newaliases command first appeared in OpenBSD 4.6 as a replacement
43       for the equivalent command shipped with sendmail.
44
45
46
47                         $Mdocdate: December 22 2015 $           NEWALIASES(8)
Impressum