I'm running some cron jobs on my machine and every time I fire up a terminal session I'm getting a 'You have mail.' message. Any way to turn this off?
It's likely to be in the spool file: /var/mail/$user. Because sometimes your mailbox will contain important messages (a failed cronjob task, etc.) you don't to check it every time by yourself.
Also, you can check
I think if you add this line to your ~/.bashrc file, the notifications will go away.
Mac OS X runs "login" each time a login occurs. So, no matter what the setting is for Bash, the "login" will tell you about mail whenever you login.
However, if you have a
~/.hushlogin file, the login process will be quieter and (hopefully) not bother you.