[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to read mail addressed to "root" from "root" user?



Thank you very much for your answer!
Could you please tell me, why is it recommended to forward root's mail to regular user? I sometimes log in as root on tty or via sudo to administer system, and thus I would be able to have root's and user's mailboxes separated, while still reading root's mail. Is there anything that I have missed?

Yours sincerely, Jayson Willson

31.08.2015 19:59, Marc Haber пишет:
On Mon, 31 Aug 2015 19:08:20 +0300, Jayson Willson
<jaysonwillson245@gmail.com> wrote:
I would like to be able to read mail, which is addressed to "root" as
"root" user. When I configured exim4-config, I have set "root" as user,
which all the mail sent to "root" will be forwarded to. But now all the
mail sent to root comes to /var/mail/mail, and when I run "mail" as
root, I get message: No mail for root. Could you please tell me, what
should I do, if I want to read root's mail from root account?

mutt -f /var/mail/mail

You should really have root's mail delivered to a regular user.

Greetings
Marc



Reply to: