I set up a cronjob a long time ago that now doesn't exist. Whenever I open up Terminal, it now says "You have mail". I have something like 100 messages that all say the same thing. How do I mass delete all of the messages?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
|
Launch the Terminal mail app with:
You'll see a list of all your messages. Look at the count at the top, it will say the number of messages you have. Say that number is 30. From the mail prompt, do
And that should be it. Make sure do to the |
|||||
|
|
You may also go the direct route and just run PS: Deleting the mail file requires sudo, just setting it to empty is enough. |
|||
|
|