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

Re: Why can't I send mail to root?



On Sun, 2003-05-04 at 08:08, Robert Storey wrote:

>   bob@sonic:~$ mail root -s "crap"
>   this is crap
>   Cc: bob@sonic:~$ su -
>   Password: 
>   root@sonic:~# mail
>   No mail for root
>   root@sonic:~# 
> 
> Any ideas on why this is?

Mail to root is sent to a 'default' non-root user. This is specified
during installation. Look in your /etc/aliases file to see to what
account root's mail is delivered.

This way you do not need to login as root just to read the postmaster
and cronjob mails. (And less logging in as root is always better)

-- 
Mark Janssen -- maniac(at)maniac.nl -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT
Maniac.nl Unix-God.Net|Org MarkJanssen.org|nl SyConOS.com|nl





Reply to: