Suppose all root's mail on your system is to be redirected to another account say 'ravi@yahoo.com' . This is achieved by modifying the /etc/aliases file and appending a line as follows:
#FILE: /etc/aliases
root: ravi@yahoo.com
Now, run the 'newaliases' command to convert the changed /etc/aliases file to the aliases.db database format.
$ newaliases
NOTE: You have to run the command newaliases each and every time you modify the /etc/aliases file.
No comments:
Post a Comment