You have new Mail

bobw

The Late: SuperMacMod
When I open Terminal, I get a message You have new Mail

I'm assuming it's coming from the Cron jobs, but how do I delete it? - and stop it?
=========================================

Welcome to Darwin!
You have new mail.
G4Desktop:~ bob$ mail
Mail version 8.1 6/6/93. Type ? for help.
"/var/mail/bob": 121 messages 121 new
>N 1 bob@G4Desktop.local Sat Dec 27 16:01 19/766 "Cron <bob@G4Desktop> sh"
N 2 bob@G4Desktop.local Wed Jan 28 17:31 19/842 "Cron <bob@G4Desktop> sh"
N 3 bob@G4Desktop.local Sat Feb 14 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 4 bob@G4Desktop.local Sat Feb 14 16:00 19/835 "Cron <bob@G4Desktop> sh"
N 5 bob@G4Desktop.local Sun Feb 15 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 6 bob@G4Desktop.local Tue Feb 17 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 7 bob@G4Desktop.local Tue Feb 17 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 8 bob@G4Desktop.local Wed Feb 18 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 9 bob@G4Desktop.local Thu Feb 19 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 10 bob@G4Desktop.local Fri Feb 20 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 11 bob@G4Desktop.local Sat Feb 21 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 12 bob@G4Desktop.local Sun Feb 22 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 13 bob@G4Desktop.local Mon Feb 23 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 14 bob@G4Desktop.local Tue Feb 24 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 15 bob@G4Desktop.local Wed Feb 25 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 16 bob@G4Desktop.local Thu Feb 26 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 17 bob@G4Desktop.local Fri Feb 27 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 18 bob@G4Desktop.local Sat Feb 28 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 19 bob@G4Desktop.local Sun Feb 29 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 20 bob@G4Desktop.local Mon Mar 1 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 21 bob@G4Desktop.local Tue Mar 2 16:00 22/940 "Cron <bob@G4Desktop> sh"
N 22 bob@G4Desktop.local Wed Mar 3 16:00
 
Erm...to delete them, just keep hitting the d key (and return after it) until it says there are no more messages while running the mail command.

If you really don't want the mail messages, you can add the line MAILTO="" to the crontab files (/etc/crontab and any user crontab files you may have created) above the cron entries. That will keep cron from mailing any output.

And if you really don't want any mail, you can create a file named .forward in your home directory, with the contents being /dev/null, and any and all local mail will be shuffled off to oblivion.
 
When you hit d then return, the mail program doesn't give you any feedback until you have no more messages (it will say No applicable messages). Until you get that message, you are deleting them.

Hmm, I suppose the real path to the crontab file is /private/etc/crontab, but the file should be there - that's the file where the maintenance jobs are at (the daily, weekly, and monthly ones).
 
Back
Top