FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-23-2008, 07:12 PM
Ed Warner
 
Default Root's Mail

I can not retrieve root's mail by typing "mail" from a command prompt, either by logging in as root or su.
I have added my username as an alias for root but still not able. The folder for mail is there, just comes back as "no mail for root"
Any ideas?




--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 07:15 PM
"Mark Haney"
 
Default Root's Mail

Ed Warner wrote:

I can not retrieve root's mail by typing "mail" from a command prompt, either by logging in as root or su.
I have added my username as an alias for root but still not able. The folder for mail is there, just comes back as "no mail for root"
Any ideas?




Uh, is it possible there is no mail for root?


--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 08:09 PM
Ed Warner
 
Default Root's Mail

Message: 6
Date: Fri, 23 May 2008 14:15:05 -0400
From: "Mark Haney"
Subject: Re: Root's Mail
To: "For users of Fedora"
Message-ID: <483709A9.5080301@ercbroadband.org>
Content-Type: text/plain; format=flowed;
charset="ISO-8859-1"

Ed Warner wrote:
> I can not retrieve root's mail by typing "mail" from a command prompt, either by logging in as root or su.
> I have added my username as an alias for root but still not able. The folder for mail is there, just comes back as "no mail for root"
> Any ideas?
>
>

Uh, is it possible there is no mail for root?


--
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours
support

Don't think so. The folder does contain mail.





--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 08:19 PM
Craig White
 
Default Root's Mail

On Fri, 2008-05-23 at 12:09 -0700, Ed Warner wrote:
> Message: 6
> Date: Fri, 23 May 2008 14:15:05 -0400
> From: "Mark Haney"
> Subject: Re: Root's Mail
> To: "For users of Fedora"
> Message-ID: <483709A9.5080301@ercbroadband.org>
> Content-Type: text/plain; format=flowed; charset="ISO-8859-1"
>
> Ed Warner wrote:
> > I can not retrieve root's mail by typing "mail" from a
> command prompt, either by logging in as root or su.
> > I have added my username as an alias for root but still not
> able. The folder for mail is there, just comes back as "no
> mail for root"
> > Any ideas?
> >
> >
>
> Uh, is it possible there is no mail for root?

>
> Don't think so. The folder does contain mail.
----
the 'mail' command only reads from /var/spool/mail/USERNAME in which
case, this would be root. It is a single mbox file and there are no
'folders'

If there are mail folders in /root, the mail command wouldn't normally
access this mail but I believe you can specify a file other than the
users default mail spool...

mail -f /root/mbox
mail -f /some_path/some_file

Craig

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 09:07 PM
Michael Schwendt
 
Default Root's Mail

On Fri, 23 May 2008 11:12:56 -0700 (PDT), Ed Warner wrote:

> I can not retrieve root's mail by typing "mail" from a command prompt, either by logging in as root or su.
> I have added my username as an alias for root but still not able. The folder for mail is there, just comes back as "no mail for root"
> Any ideas?

With an alias your mail is forwarded to another user, so it's no
surprise there is no mail in root's mailbox anymore.

Perhaps you can be more verbose in your mail and quote the console
session output of how you look for the mail folder and mail. That
makes it easier for readers.

--
Fedora release 9.90 (Rawhide) - Linux 2.6.26-0.17.rc3.fc10.i686
loadavg: 1.42 1.14 1.13

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 05-23-2008, 10:16 PM
Aaron Konstam
 
Default Root's Mail

On Fri, 2008-05-23 at 12:09 -0700, Ed Warner wrote:
> Message: 6
> Date: Fri, 23 May 2008 14:15:05 -0400
> From: "Mark Haney"
> Subject: Re: Root's Mail
> To: "For users of Fedora"
> Message-ID: <483709A9.5080301@ercbroadband.org>
> Content-Type: text/plain; format=flowed; charset="ISO-8859-1"
>
> Ed Warner wrote:
> > I can not retrieve root's mail by typing "mail" from a
> command prompt, either by logging in as root or su.
> > I have added my username as an alias for root but still not
> able. The folder for mail is there, just comes back as "no
> mail for root"
> > Any ideas?
> >
> >
>
> Uh, is it possible there is no mail for root?
>
>
> --
> Libenter homines id quod volunt credunt -- Caius Julius Caesar
>
>
> Mark Haney
> Sr. Systems Administrator
> ERC Broadband
> (828) 350-2415
>
> Call (866) ERC-7110 for after hours support
>
> Don't think so. The folder does contain mail.
1. If root is aliasewd to oyur user name you will get roots mail.
2. have you tried: mail -u, as root



--
================================================== =====================
It is a hard matter, my fellow citizens, to argue with the belly, since
it has no ears. -- Marcus Porcius Cato
================================================== =====================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 06:40 PM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org