Latest web development tutorials

Linux newaliases command

Linux command Daquan Linux command Daquan

Linux newaliases command uses a file in / etc / aliases the user name translation to do the action. When sendmail receives a letter to be sent to xxx, it will be based on the contents of the aliases file to the other user. This function can only create a system to be effective in the mail users. Such as mailing list will use this function, mailinglist, we may create a call [email protected] the mailinglist, but in fact no one called redlinux users. The actual contents of the aliases file is sent to the user's letter to the mailing list will receive handler is responsible for distribution work.

/ Etc / aliases file is a text mode, sendmail needs a binary format /etc/aliases.db. newaliases function is to pass / etc / aliases into a sendmail can understand database.

Access: the system administrator.

grammar

newaliases

Parameter Description: no parameters.

Examples

# newaliases

The following command will do the same thing

# sendmail -bi

Linux command Daquan Linux command Daquan