Add this line to the bottom of /etc/aliases:
root: your_email@domain.comRun this command:
newaliases
Restart your mail server and run the following command to test:
echo Test | mail -s "Test Message" root
Add this line to the bottom of /etc/aliases:
root: your_email@domain.comRun this command:
newaliases
Restart your mail server and run the following command to test:
echo Test | mail -s "Test Message" root