you have mail in /var/mail/ mac osx code example
Example: Why does terminal say: “You have mail”?
By yagooar
Type mail into terminal.
Then type in d * and press Enter.
The d command means delete and the * selects all mails in the list.
Then press q to quit.