Article 59CH3 Localmail missing for root

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!latest?d=yIl2AUoC8zA latest?i=jc4r-IsnE8A:AUyK_nxM1MY:F7zBnMy latest?i=jc4r-IsnE8A:AUyK_nxM1MY:V_sGLiP latest?d=qj6IDK7rITs latest?i=jc4r-IsnE8A:AUyK_nxM1MY:gIN9vFwjc4r-IsnE8A
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments