Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I open the Terminal, I get the "You have mail." message, but I do not have any mail. When I run MAIL it reads, "No mail for myusername". I have tried several methods to prevent this from occurring every time I use the Terminal, including adding unset MAILCHECK to my bash profile.

share|improve this question

migrated from stackoverflow.com Apr 10 '12 at 16:44

This question came from our site for professional and enthusiast programmers.

2  
Try adding the following line to your ~/.bashrc unset MAILCHECK – Krzysztof Rosiński Apr 10 '12 at 16:41
2  
Read your mail. runs – Ignacio Vazquez-Abrams Apr 10 '12 at 16:44
4  
2  
Thanks for the clue. There were two blank lines in /var/mail/username and removing them solved the problem. – maxskybarger Apr 10 '12 at 18:23
8  
Please answer the question yourself so you can mark it as accepted! – slhck Apr 10 '12 at 18:53

From the comments on the question:

check /var/mail/<username>

There were two blank lines in /var/mail/<username> and removing them solved the problem.

Also, deleting the <username> directory in /var/mail will fix this.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .