Интерактивная система просмотра системных руководств (man-ов)
newaliases (1)
>> newaliases (1) ( Solaris man: Команды и прикладные программы пользовательского уровня )
newaliases (1) ( FreeBSD man: Команды и прикладные программы пользовательского уровня )
newaliases (1) ( Linux man: Команды и прикладные программы пользовательского уровня )
NAME
newaliases - rebuild the data base for the mail aliases file
SYNOPSIS
newaliases
DESCRIPTION
newaliases rebuilds the random access data base for the mail aliases file /etc/mail/aliases.
newaliases accepts all the flags that sendmail(1M) accepts. However, most of these flags have no effect, except for the -C
option and three of the ProcessingOptions that can be set from a configuration file with the -o option:
-C /path/to/alt/config/file
Use alternate configuration file.
-oAfile
Specify possible alias files.
-oLn
Set the default log level to n. Defaults to 9.
-on
Validate the RHS of aliases when rebuilding the aliases(4) database.
newaliases runs in verbose mode (-v option) automatically.
EXAMPLES
Example 1 Running the newaliases Command
The following command runs newaliases on an alias file different from the /etc/mail/aliases default in sendmail(1M):