1newaliases(1M) System Administration Commands newaliases(1M)
2
3
4
6 newaliases - rebuild the data base for the mail aliases file
7
9 newaliases
10
11
13 newaliases rebuilds the random access data base for the mail aliases
14 file /etc/mail/aliases.
15
16
17 newaliases accepts all the flags that sendmail(1M) accepts. However,
18 most of these flags have no effect, except for the -C option and three
19 of the Processing Options that can be set from a configuration file
20 with the -o option:
21
22 -C /path/to/alt/config/file
23
24 Use alternate configuration file.
25
26
27 -oAfile
28
29 Specify possible alias files.
30
31
32 -oLn
33
34 Set the default log level to n. Defaults to 9.
35
36
37 -on
38
39 Validate the RHS of aliases when rebuilding the aliases(4) data‐
40 base.
41
42
43
44 newaliases runs in verbose mode (-v option) automatically.
45
47 Example 1 Running the newaliases Command
48
49
50 The following command runs newaliases on an alias file different from
51 the /etc/mail/aliases default in sendmail(1M):
52
53
54 example% newaliases -oA/path/to/alternate/alias/file
55
56
57
59 newaliases returns an exit status describing what it did. The codes are
60 defined in /usr/include/sysexits.h.
61
62 EX_OK Successful completion on all addresses.
63
64
65 EX_NOUSER User name not recognized.
66
67
68 EX_UNAVAILABLE Catchall. Necessary resources were not available.
69
70
71 EX_SYNTAX Syntax error in address.
72
73
74 EX_SOFTWARE Internal software error, including bad arguments.
75
76
77 EX_OSERR Temporary operating system error, such as "cannot
78 fork".
79
80
81 EX_NOHOST Host name not recognized.
82
83
84 EX_TEMPFAIL Message could not be sent immediately, but was
85 queued.
86
87
89 /etc/aliases Symbolic link to /etc/mail/aliases
90
91
92 /etc/mail/aliases.pag
93
94
95 /etc/mail/aliases.dir ndbm files maintained by newaliases
96
97
98 /etc/mail/aliases.db Berkeley DataBase file maintained by
99 newaliases
100
101
103 See attributes(5) for descriptions of the following attributes:
104
105
106
107
108 ┌─────────────────────────────┬─────────────────────────────┐
109 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
110 ├─────────────────────────────┼─────────────────────────────┤
111 │Availability │SUNWsndmu │
112 └─────────────────────────────┴─────────────────────────────┘
113
115 sendmail(1M), aliases(4), attributes(5)
116
117
118
119SunOS 5.11 14 Sep 2001 newaliases(1M)