English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux newaliases command

Comprehensive List of Linux Commands

The Linux newaliases command uses a database in /etc/The files in aliases perform the action of converting user names. When sendmail receives an email to be sent to xxx, it will send it to another user based on the content of the aliases file. This feature can create a user that is only valid within the email system. For example, a mailing list would use this feature, and in the mailing list, we might create a mailing list called [email protected], but actually there is no user called redlinux. The actual content of the aliases file is to have all the emails sent to this user handled by the mailing list distribution program.

/etc/aliases is a text file, sendmail needs a binary format /etc/aliases.db. The function of newaliases is to transfer /etc/aliases converts a text file into a database that sendmail can understand.

Usage Permissions: System Administrator.

Syntax

newaliases

Parameter Description: No parameters.

Online Examples

# newaliases

The following commands will do the same thing

# sendmail -bi

Comprehensive List of Linux Commands