HPlogo HP-UX Reference > N

newaliases(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

newaliases — rebuilds the database for the mail aliases file

SYNOPSIS

newaliases [-on]

DESCRIPTION

newaliases rebuilds the random access database 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.

Options

-on

Validate addresses. When sendmail rebuilds the alias database files, it will check the legality of all addresses to the right of the colons. Each address is validated. If the validation fails, the address is skipped and a warning message is displayed.

RETURN VALUE

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

AUTHOR

newaliases was developed by the University of California, Berkeley, and originally appeared in 4.0BSD. The manual page originally came from sendmail 8.7.

FILES

/etc/mail/aliases

The mail aliases file.

/etc/mail/aliases.db

Database of alias names.