"You have mail." notification in shell - how to get rid of it?

Hey guys,
whenever I start a shell (zsh, but same for bash/csh/ksh) I get the message that "You have mail.". Well, that's true, there are mails in my /var/mail/`whoami`. But as they ain't new, I don't need, and more, don't want this message. How do I turn it off?
It's gone when I move my mail from /var/mail/$USER to somewhere else, but that is no solution.
Ideas? Clues? ANYthing?

There's something strange in how Terminal.app invokes
the shell that I haven't had time to trace down yet;
I can see the following:
Terminal.app with default settings does not invoke
~/.bashrc but displays the "you have mail" message.
Terminal.app set to launch /bin/bash neither invokes
~/.bashrc nor displays the "you have mail" message.
xterm in X11 invokes ~/.bashrc and does not display
"you have mail".
I always use xterms because they seem to have better
compatibility with more shell commands than
Terminal.app.
The one thing I didn't try is to put the the
MAILCHECK=-1 in /etc/profile and then reboot.
Well, I use iTerm, but it's the same for Terminal.app
I also tried MAILCHECK='', MAILCHECK='-1' and all that... and if I check it, it's set, but still this **** message...
Geez, it can't be thaat hard, I thought!?

Similar Messages

  • Music files that have a ! by them, how to get rid of ?

    in itunes i have music that cant be found, because they have a ! beside them. going crazy.

    This happens when you've moved or renamed something in the file path to the songs.
    IF you double click, a warning will pop up and you can click to locate the file, browsing in Explorer.
    Or... if it's an ehtire album (or everything by an artist) Select all the tracks with the "!" and delete them. Then go to File>Add Folder to Library...  and select the folder that contains the songs that wouldn't play. Once re-imported, they'll be available.

  • Having 200+ GB of "Other" Space in HD.. How to get Rid of it?

    So I have 200 GB of other in my storage and Ive tried OmniDisk to get rid of stuff but nothing is making it have more space. Anyone have any other ideas to how to get rid of all this other space?

    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.
    What is "Other" and What Can I Do About It?- Apple Support Communities

  • What is bogon doing in my sidebar and how to get rid of it?

    Out of the blue today in Finder's sidebar, in SHARED, just under the Time Capsule a new item popped up:
    "All..."
    Selecting "All..." in sidebar shows in Finder's right panel as follows:
    under Name - bogon
    under Kind - Neighborhood
    Restarting Mac, restarting Time Capsule, disconnecting and reconnecting cable modem - nothing helps, I can't get rid of it and I have no idea what it is...
    Just booted my MBP and wife's MB - same thing in both...
    It indicates that it is Time Capsule showing the "All..." bogon Neighborhood, not an individual Mac.
    Have I been hacked? How to get rid of it, there is no eject next to it?

    bogon just disappeared from SHARED on my iMac ... - although mystery remains as it still shows up in MBP ...

  • How to get rid of D.O.T tab&MSI info tab?

    Hiya people
    Does anyone have any idea,s on how to get rid of the msi info and DOT tabs in the display properties
    I,ve looked thru the forums and someone said the msi drivers introduce a new dll to the win/system32 folder and the only way is to format the drive ,i don,t wonna do that as i,ve just recently formatted.
    Its not a major fault or anything as i think they are harmless, they just annoy me being there,i prefer coolbits for my overclocking.
    Any idea,s would be greatly appreciated thanks
    AthlonXP2800+ Bartoncore @2083MHZ WinXP pro sp1
    Epox NForce2 8RDA+ mobo
    2x512MB dualchannel enabled
    MSI NX6800GT 256MB videocard @400core  1100mem forceware 65.73beta
    Audigy Soundcard + 5.1 soundsystem
    Sony Trinitron 21inch FlatDisplay

    Quote
    Originally posted by CDM
    Well Congrats on answering your own question with in 16 minutes  

  • HT2500 After my last software update I can no longer access my mail.  message displayed says "you have mail version 4.5 this cannot be used on  Mac OS X Version 10.6.8 .  How do I fix this???

    After my last software update I can no longer access my mail.  message displayed says "you have mail version 4.5 this cannot be used on  Mac OS X Version 10.6.8 .  How do I fix this???

    See possible fixes here.
    https://discussions.apple.com/message/19760703#19760703
    https://discussions.apple.com/thread/4311280?tstart=0
    https://discussions.apple.com/message/19710911#19710911
    Some have reported success simply by reinstalling the update.
    http://support.apple.com/kb/DL1586
    Or download and apply, or reapply, the 10.6.8 Combo update first, then apply the Security Update again.
    http://support.apple.com/kb/DL1399
    I'd suggest starting with the simplest of these fixes, so look them over first.

  • Terminal Message: "You have mail"??

    I am getting this message " You Have Mail" when I open a shell in Terminal. It is after the "Welcome to Darwin!" and my computer name. Does anyone know what this means and how it got there?
    Thanks.

    Niel,
    thanks a bunch, I have never made myself much familiar with Terminal use and know little of all of its capabilities. I guess it's the powerful master that overlooks his GUI users.
    Here's the message:
    Mail version 8.1 6/6/93. Type ? for help.
    "/var/mail/username": 2 messages 2 new
    N 1 username@computername Wed Jan 18 15:30 19/980 "Cron <username@To"</div>
    N 2 username@computername Sun Apr 9 17:00 19/980 "Cron <username@To"
    Sounds like cron was sending log info?
    Anyway, thanks for solving this one for me.

  • HT1338 How to get rid of Apple Support Community notices, my box is full I receive thousand a day and I really cannot handle it.  Please help, I cannot find the notification tad in my "preferences"  I have Mac OS X 10.7.5.  Please help it is urgent

    How to get rid of Apple Support Community notices?  my box is full as I receive thousand of messages a day.  I cannot handle it anymore, please it is urgent.  Help!  I have Mac OS X 10.7.5 and unable to find the "notification tab" in my "preferences"  I need a image if possible to better understand.  Thanks a lot.

    Thank you, but I just  tried everything you said, my apple id account (icloud) continues and still is receiving the email from ASC each second.  My i phone and macpro (i cloud account) is full of messages that I have difficult to erase at once.  I have to do it one by one which can take me the whole day.  How can i unsucribe from ASC, just get ride of my account, I mean cancel the ASC account, so I will not get any messages.  Please help.  Thanks.

  • You have mail version 4.2 (1078/1084). It can't be used on Mac OS X Version 10.6.8

    You have mail version 4.2 (1078/1084). It can't be used on Mac OS X Version 10.6.8
    How to install application Mail from Optional Installs on Mac OS X Install DVD?

    Download and run the 10.6.8 combo updater from Apple. That should get your Mail app up to the latest version.
    http://support.apple.com/kb/DL1399

  • After opening my yahoo mail window, I keep getting a very narrow dialogue box with the words "log into Xmarks" I cannot ... and everything is frozen. How can I get rid of this thing, and what is it? I have to hit CNTRL + ALT + ESC to get rid of it.

    After opening my yahoo mail window, I keep getting a very short and narrow dialogue box with the words "log into Xmarks" I cannot ... when it pops up, always upper left of my laptop screen and I try to get into my yahoo mail web page, I get a DING sound and cannot enter it ... everything is frozen. I have to hit CNTRL + ALT + ESC to get rid of it - and then reload my Firefox browser to get back to my yahoo e-mail page ... fortunately for me, Firefox re-stores a previous session ... How can I get rid of this intrusive thing, and what is it? Thanks in advance ... Ted Beaudoin, Welland, ON, Canada

    Remove VideoFileDownload and find a downloader that doesn't contain TextEnhance.

  • I have downloaded mountain lion from the app store on another computer.  I have then gone to find it in "purchases" in the app store on my own macbook pro and it just comes up as "you have not purchased any apps" how to I get my mountain lion?

    I have downloaded mountain lion from the app store on another computer.  I have then gone to find it in "purchases" in the app store on my own macbook pro and it just comes up as "you have not purchased any apps" how to I get my mountain lion?

    Mac App Store: Hiding and unhiding purchases
              http://support.apple.com/kb/HT4928

  • HT1551 Does Apple TV shut down when you switch back to regular TV?  Or do you have to sign out and how do you do that?

    Does Apple TV actually shut off when you switch back to regular TV?  Or do you have to sign out?  How do you sign out?  Or is there another way to shut it off?  Thanks!

    No, you need to go into the settings and select sleep now.
    You can also press/hold the select (centre) button on the remote for 5 seconds.

  • My computer keeps freezing on me every 15 min do i have a virus I was told when you have mozilla firefox you don't need virus protection is that true and how can I scan if I have a virus and now do i get rid of it?

    # Question
    My computer keeps freezing on me every 15 min do i have a virus I was told when you have mozilla firefox you don't need virus protection is that true and how can I scan if I have a virus and now do i get rid of it? edit

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    There are other things that need attention:
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.0 r32
    # Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Java]] plugin to the latest version.
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)

  • I deleted my Mail app sometime back. I reinstalled it again, today, on my Macbook Snow Leopard Mac OS but when I try launching Mail, it says ' You have Mail version 4.0(1075/1085). It can't be used on Mac OS X version 10.6.8(Build 10K549)",

    I deleted my Mail app sometime back. I reinstalled it again, today, on my Macbook Snow Leopard Mac OS but when I try launching Mail, it says ' You have Mail version 4.0(1075/1085). It can't be used on Mac OS X version 10.6.8(Build 10K549)",

    The Mail version for your machine is 4.6 (1085)   You can get it via the Combo updater.  Mac OS X 10.6.8 Update Combo v1.1
    Then follow with software updates to pick up the most recent security and iTunes updates.

  • Hello, I own a macbook air and I deleted the iPhoto app by mistake, I cant re download it now, do you have any answer for me how to do it?

    Hello, I own a macbook air and I deleted the iPhoto app by mistake, I cant re download it now, do you have any answer for me how to do it?

    That's an App Store problem not an iPhoto one. That forum is here
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    but perhaps you just need to try again later, as the message says.
    Regards
    TD

Maybe you are looking for