LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-20-2007, 02:08 AM   #1
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
It says "You have mail." at console login... how do I see it?


When I log in as root in console it says "You have mail." on this machine.
I never configured a mail system when I installed this operating system, and I never used one.
How do I retrieve those message(s)?
I used webmail all my life due to constant roaming around... I don't know what kind of mail systems linux has. I remember during every installation in the past it asked whether or not I wanted to configure the mail system... But I never got curious enough as to what it is.
Can someone explain to me?
Thanks.
 
Old 03-20-2007, 02:19 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30
Type mail at the console and you will see them. vector is based on slackware , which sends out two local emails to the root user
 
Old 03-20-2007, 02:25 AM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Hmmm... this will be system mail - like if you have logged in incorrectly a few times, root would get sent a message.

The mail would be in /var/mail/$user

I's be accessing it with the "see" command (mailcap-run program).

Try "apropos mail" to see what options you have.
 
Old 03-20-2007, 02:25 AM   #4
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jayakrishnan
Type mail at the console and you will see them. vector is based on slackware , which sends out two local emails to the root user
Code:
root:# mail
bash: mail: command not found
Um... Am I supposed to have something installed?
I recall I did not install any mail stuff... This system should be pretty stripped down...
Help...?

*EDIT*
Indeed as I predicted the "mailx" package was not installed... After intalling mail it works as it should:
Code:
root:# mail -u root
Heirloom mailx version 12.1 6/15/06.  Type ? for help.
"/var/spool/mail/root": 15 messages 8 new 15 unread
 U  1 To root            Sun Jun 13 10:47   35/977   Welcome aboard
 U  2 To root            Sun Jun 13 10:47   45/1626  Register with the Linux c
 U  3 Patrick J. Volkerd Sun Jun 13 11:09  178/8283  Welcome to Linux (Slackwa
 U  4 To root            Thu Sep  8 07:47   45/1626  Register with the Linux c
 U  5 Patrick J. Volkerd Thu Sep  8 08:09  189/8929  Welcome to Linux (Slackwa
 U  6 To root            Thu Sep  8 07:47   45/1626  Register with the Linux c
 U  7 Patrick J. Volkerd Thu Sep  8 08:09  189/8929  Welcome to Linux (Slackwa
>N  8 To root            Wed Aug 16 15:40   42/1576  Register with the Linux c
 N  9 Patrick J. Volkerd Wed Aug 16 15:43  186/8908  Welcome to Linux (Slackwa
 N 10 To root            Wed Aug 16 15:40   42/1576  Register with the Linux c
 N 11 Patrick J. Volkerd Wed Aug 16 15:43  186/8908  Welcome to Linux (Slackwa
 N 12 To root            Wed Aug 16 15:40   42/1582  Register with the Linux c
 N 13 Patrick J. Volkerd Mon Sep 25 03:52  346/16693 Welcome to Linux (Slackwa
 N 14 To root            Wed Aug 16 15:40   42/1582  Register with the Linux c
 N 15 Patrick J. Volkerd Mon Sep 25 03:52  346/16693 Welcome to Linux (Slackwa
?
Sad, but nothing useful.
So how exactly does this mail system work...? How are those messages generated?

Last edited by r00tb33r; 03-20-2007 at 02:38 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail "error in login page"" when content advisor is enabled simi_virgo Linux - Networking 4 08-21-2008 02:25 PM
No UTMPX entry, You must EXEC "login" for the lowest "shell" ooihc Solaris / OpenSolaris 7 03-12-2007 03:09 PM
Qmail problem: ISP mail and virtual mail, "sorry no mailbox, here by that user" barryw Linux - Networking 7 05-28-2005 01:43 PM
Howto disable "Graphical Login" or "Standard Login?" the_gripmaster Red Hat 1 07-08-2004 03:55 PM
"mail" and "mailx" lost. yapp Slackware 2 10-27-2003 12:35 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration