Solved

You have mail! error

Posted on 2000-04-06
1
178 Views
Last Modified: 2013-12-16
Everytime that login or any other user it will state that you have mail.  Even if there are no messages or no new messages it will still state this when telneting in to the system.  When using mail instead of pine to view mail you can see the internal fodler data message that it is counting as a message?  Is there a simple way to tell the message to display only if there are more than ONE instead of zero messages?
0
Comment
Question by:LedZep37
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 2694160
It's login that prints the "You have mail" message and from the man page for login it says that, "the  file  with the user's name in /usr/spool/mail will be checked, and a message printed if it has non-zero length." Short of hacking login, or enabling a quiet login via ".hushlogin" (see "man login") you'll get the message if there is a non-zero sized mbox.
0

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question