newaliases Command

Purpose

Builds a new copy of the alias database from the mail aliases file.

Syntax

newaliases

Description

The newaliases command builds a new copy of the alias database from the /etc/aliases file. It must be run each time this file is changed in order for the changes to take effect. Running this command is equivalent to running the sendmail command with the -bi flag.

Exit Status

Item Description
0 Exits successfully.
>0 An error occurred.

Security

Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Files

Item Description
/usr/sbin/newaliases Contains the newaliases command.
/etc/mail html