Sometimes we need to forward an email
received by some user to the other user. Say If we have an admin
user account in our centos machine then we need to forward the emails
from the root user account to the admin user account for that we need
to edit the file /etc/aliases
[root@server105 ~]# vi /etc/aliases
At the bottom of the file you can see
the following
# Person who should get root's mail
#root: marc
Just add
root username
under that and it will work fine
for me it is
root joji
Thank you
No comments:
Post a Comment