-
new mail? How?
Hi All,
A day or two back I did yet another HD install on this set up as part of the learning. I left the resulting install running for a day or so, just to see what would happen. I was logged out as long as I wasn't around to use the system, and logged in as a variety of users when I was exploring.
Yesterday, I powered the system down after about 2 days. I just powered up again and I have it set so that I start with a console log in from which I can startx or kdm to a gui if I want. I logged in as root, and got a message saying I got new mail!
This has confused me a bit since I have not set any mail up! On further looking about the place I can see no trace of any mail anyway - so what gives? How can I find that to which the beast refers, and more, how might I read same? <shrug>
I mean on the face of it, that looks like the setup is mistaken, but it's far more likely that I am, surely?
-
You've got the mail in /var/mail/root. It's not a mail account as such AFAIK. It's just where root gets to know for instance if a user has tried to do anything "illegal" like sudoing when not in sudoers.
-
Senior Member
registered user
Re: new mail? How?

Originally Posted by
colin stewart
Yesterday, I powered the system down after about 2 days. I just powered up again and I have it set so that I start with a console log in from which I can startx or kdm to a gui if I want. I logged in as root, and got a message saying I got new mail!
This has confused me a bit since I have not set any mail up! On further looking about the place I can see no trace of any mail anyway - so what gives? How can I find that to which the beast refers, and more, how might I read same? <shrug>
I mean on the face of it, that looks like the setup is mistaken, but it's far more likely that I am, surely?
In the same console mail and it should show you a list of the mail waiting for you type in the number of the mail you want to see and enter to read, ESC brings you back to the list IIRC and when you are done "q" then enter quits the program.
-

Originally Posted by
Markus
You've got the mail in /var/mail/root. It's not a mail account as such AFAIK. It's just where root gets to know for instance if a user has tried to do anything "illegal" like sudoing when not in sudoers.
OK, thanks, that's great, and how might I actually read it from say the command line or even from a gui for that matter? 
I only ask as I did look about the various mail areas, but could see no mail or any files to view.
-

Originally Posted by
colin stewart
OK, thanks, that's great, and how might I actually read it from say the command line or even from a gui for that matter?
I only ask as I did look about the various mail areas, but could see no mail or any files to view.
I think Stephen already answered that but have a look at "man mail" to see how it works.
-
Senior Member
registered user

Originally Posted by
colin stewart
OK, thanks, that's great, and how might I actually read it from say the command line or even from a gui for that matter?

If you want something a bit fancier than "mail" mentioned above you could try "mutt" instead.
-
-

Originally Posted by
windos_no_thanks

Originally Posted by
colin stewart
OK, thanks, that's great, and how might I actually read it from say the command line or even from a gui for that matter?

If you want something a bit fancier than "mail" mentioned above you could try "mutt" instead.

Oh, now you started something!
I jumps to a shell, and types, mutt
it starts, and then complains there's no file or dir called knoppix
OK thinks I, I'll just make you one then
Goes to make a dir, and access denied, thinks AH, not route.
New shell, sudo mkdir etc......
knoppix is not on sudoers list (not in the club it seems)
ok, so su root .........password..... fine we're root....
mkdir, etc...... sorted.
mutt...... directory is not a mailbox..........Thinks - I see, always bitching instead of doing!.......
OK, so I don't know how to help this dawg out, but I will get to it later as I don't actually see much wrong with "mail" given this is linux, and nice isn't always on the menu!
One (probably more serious) thing that arises out of all of this though. You're always given the advice not to run as root for just about any reason. however you can't do something trivial like make yourself a place to put your mail unless you are, and if knoppix were on the sudo list that could at least be done, so you got to go root either way. Hmmm... the advice really would be easier to stick to if things like this were slightly better than they seem to be, and it's no good needing to be an expert just to make being a n00b make any sense! That's just silly!
Sorry, didn't mean to rant, but this is a bit of a daft situation, and even a n00b like me can see that one!
Anyhoo..... 
Afterthought: and yes, I do realise knoppix may not have had any mail, but thats not the point at all is it? we never got that error message like "no mail for knoppix" did we? By comparison that would have been a result not the snafu it seemed to end up as.
Similar Threads
-
By Hunkah in forum The Lounge
Replies: 7
Last Post: 08-16-2011, 08:57 PM
-
By adamherb in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 07-29-2005, 03:20 PM
-
By rrfish72 in forum General Support
Replies: 2
Last Post: 08-05-2004, 12:01 AM
-
By zavec in forum General Support
Replies: 1
Last Post: 02-04-2004, 05:04 PM
-
By quakes in forum The Lounge
Replies: 1
Last Post: 05-05-2003, 12:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$288.19

Lot Of 4 NEW SAMSUNG 16GB PC4-2933Y-RC2-12-DC1 Memory
$299.00

CORSAIR VENGEANCE 128GB (2 x 64GB) DDR5 DIMM Memory - RAM
$990.00

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$175.90

128GB Kit SK Hynix PC4-2400T-RB1 DDR4 ECC RAM Memory 32GB Qty4 (HMA84GR7MFR4NUH)
$659.00

Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot
$201.78

Lot Of 16 X 16GB ECC DIMM Server Memory SK Hynix HMA42GR7MFR4N-TF PC4-17000 DDR4
$800.00

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$378.00

SanDisk Cruzer Blade 16GB USB 2.0 Flash Drive Black SDCZ50-016G-B35
$3.77