newaliases(1)

newaliases1

Rebuild the data base for the sendmail aliases file

Usage

newaliases

Overview

Newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases. It must be run each time this file is changed in order for the change to take effect.

Newaliases is identical to ``sendmail -bi''.

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

Notice: do not use makemap to create the aliases data base, because newaliases puts a special token into the data base that is required by sendmail.

Files

/etc/mail/aliases

The mail aliases file

Releases

87 releases since FreeBSD 2.0.5-RELEASE; the text changed 10 times.

  1. 2.0.5–2.2.2
  2. 2.2.5–2.2.9
  3. 3.0
  4. 3.1–4.1
  5. 4.1.1–4.2
  6. 4.3–4.5
  7. 4.6–9.2
  8. 9.3
  9. 10.0
  10. 10.1–14.3
  11. 14.4–16.0

History

The newaliases command appeared in 4.0BSD.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's man source.