table of contents
other versions
- buster 6.0.3p1-5+deb10u4
- buster-backports 6.6.4p1-2~bpo10+1
- testing 6.8.0p2-3
- unstable 6.8.0p2-3
other sections
conflicting packages
| NEWALIASES(8) | System Manager's Manual | NEWALIASES(8) |
NAME¶
newaliases —
rebuild mail aliases
SYNOPSIS¶
newaliases |
[-f file] |
DESCRIPTION¶
Thenewaliases utility makes changes to the mail aliases
file visible to smtpd(8). It should be run every time the
aliases(5) file is changed. The location of the alias file
is defined in smtpd.conf(5), and defaults to
/etc/aliases.
The options are as follows:
-ffile- Use file as the configuration file, instead of the default /etc/smtpd.conf.
If using database (db) files, newaliases
is equivalent to running makemap(8) as follows:
# makemap -t aliases /etc/aliases
If using plain text files, newaliases is
equivalent to running smtpctl(8) as follows:
# smtpctl update table aliases
FILES¶
- /etc/aliases
- List of local user mail aliases.
- /etc/virtual
- List of virtual host aliases.
EXIT STATUS¶
Thenewaliases utility exits 0 on success,
and >0 if an error occurs.
SEE ALSO¶
smtpd.conf(5), makemap(8), smtpctl(8), smtpd(8)HISTORY¶
Thenewaliases command first appeared in
OpenBSD 4.6 as a replacement for the equivalent
command shipped with sendmail.
| July 20, 2018 | Linux 4.19.0-10-amd64 |