Localmail missing for root
by banderas20 from LinuxQuestions.org on (#59CH3)
Hi,
I have a running installation of Postfix and it's working locally. However, I find some strange issues.
If I run this as root:
Code:echo "mail body" | mail -s "test mail" rootI expect to have mail as root user. However, If I run "mail", the system says:
Code:No mail for rootI haven't any directory named Maildirunder root folder.
/var/mail/root file is also empty.
If I do the same with another user as recipient, I find the mail under its Maildir/new directory.
What's going on?
Thanks!


I have a running installation of Postfix and it's working locally. However, I find some strange issues.
If I run this as root:
Code:echo "mail body" | mail -s "test mail" rootI expect to have mail as root user. However, If I run "mail", the system says:
Code:No mail for rootI haven't any directory named Maildirunder root folder.
/var/mail/root file is also empty.
If I do the same with another user as recipient, I find the mail under its Maildir/new directory.
What's going on?
Thanks!