How To Send Root Mail To a User On Redhat/Cent0s 7
if you want to send the root mail to a existing user, it’s pretty simple to get the mail. But do not do
this in company environment for Security purpose.
first create a user on your server, I have created a abc user on the server to make you understand.
There is a file called /etc/aliases.
go to the bottom and define the user here
Now change it
And save the file and restart the service.
The above command will reload the file.