Solved

You have mail! error

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

726 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