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

Linux newaliases command

Linux Command大全

The Linux newaliases command uses a /etc/The file in aliases performs 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 will use this feature. In a mailing list, we might create a mailing list called [email protected], but actually there is no user named redlinux. The actual content of the aliases file is to have all emails sent to this user handled by the mailing list distribution program.

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

Usage Permissions: System Administrator.

Syntax

newaliases

Parameter Description: No parameters.

Online Examples

# newaliases

The following command will do the same thing

# sendmail -bi

Linux Command大全