Solved

You have mail! error

Posted on 2000-04-06
1
177 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

729 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