?
Solved

You have mail! error

Posted on 2000-04-06
1
Medium Priority
?
179 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 400 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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.
Suggested Courses

719 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