YouTip LogoYouTip

Linux Comm Newaliases

# Linux newaliases Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux newaliases command uses a file in /etc/aliases to perform user name translation. When sendmail receives a message intended for xxx, it will deliver it to another user based on the contents of the aliases file. This functionality can create a user that is only valid within the mail system. For example, a mailing list would use this feature. In a mailing list, we might create a mailing list called redlinux@link.ece.uci.edu, but there is no actual user named redlinux. The actual content of the aliases file directs messages sent to this user to the mailing list handler for distribution. /etc/aliases is a text file, and sendmail requires a binary format /etc/aliases.db. The function of newaliases is to convert /etc/aliases into a database that sendmail can understand. Permission required: System administrator. ### Syntax newaliases **Parameter description**: No parameters. ### Example # newaliases The following command does the same thing # sendmail -bi [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm UunameLinux Comm Tty β†’