Author: Dan
Date: 02-01-07 22:44
Are you really logging in as root? Or logging in as your usual user and using su?
Regardless, I usually forward all mail for root to myself. An easy way to do this is /etc/mail/aliases. In there, you will find a commented out alias for root. Change it to yourself, like this:
$ grep root /etc/mail/aliases
root: dan
Then all mail for root on this machine will go to dan's account.
You could also specify dan@example.org, instead of just dan.
Depending on what mail server you are using, you need to invoke the changes you made to that file: newaliases is what you'd use on a default system. If using postfix, then postalias /etc/mail/aliases is what you want.
--
Webmaster
|
|