1NEWALIASES(8) System Manager's Manual NEWALIASES(8)
2
3
4
6 newaliases - rebuild mail aliases
7
9 newaliases [-f file]
10
12 The newaliases utility makes changes to the mail aliases file visible
13 to smtpd(8). It should be run every time the aliases(5) file is
14 changed. The location of the alias file is defined in smtpd.conf(5),
15 and defaults to /etc/opensmtpd/aliases.
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 If using database (db) files, newaliases is equivalent to running
24 makemap(8) as follows:
25 # makemap -t aliases /etc/opensmtpd/aliases
26
27 If using plain text files,
28 newaliases
29 is equivalent to running
30 smtpctl(8)
31 as follows:
32 # smtpctl update table aliases
33
35 /etc/opensmtpd/aliases
36 List of local user mail aliases.
37
38 /etc/opensmtpd/virtual
39 List of virtual host aliases.
40
42 The newaliases utility exits 0 on success, and >0 if an error occurs.
43 newaliases
44
46 smtpd.conf(5), makemap(8), smtpctl(8), smtpd(8)
47
49 The newaliases command first appeared in OpenBSD 4.6 as a replacement
50 for the equivalent command shipped with sendmail.
51
52
53
54 $Mdocdate: July 20 2018 $ NEWALIASES(8)