Jump to content

where does my mail to root go?


papaschtroumpf
 Share

Recommended Posts

if I do:

 

mail -s test username

this is a test

.

 

then the user gets the email (I have a .forward file setup so really the mail gets forwded to my gmail account)

 

 

if I do

 

mail -s test root

this is a test

.

 

then check mail by doing "mail -u root" the system tells me root doesn't have mail. If I add a .forward like I do for the user account nothing gets forwarded either.

 

Is there something magic about root's email?

 

 

 

 

EDIT: after doing some research, I modified the /etc/aliases file to send root's mail to the user account (it was set up originally to send it to the postfix account) and that seems to fix the problem, or at least root's mail is forwarded to the user.

Was this the right way to fix it? is root not considered a HUMAN? why does root have to be aliased?

Edited by papaschtroumpf
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...