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?
How to delete all Terminal mail
emailterminal
Related Question
- iCloud Mail Not Deleting – Very Slow and Requires Multiple Deletions
- MacOS Terminal – Command Not Found When Typing Too Fast
- How to reliably migrate emails from Mac Mail to Google mail
- MacOS – Terminal Displays My Roommate’s Computer
- Mac Mail Gmail Archive – How to Use Mac Mail as Searchable Archive and Delete Emails on Gmail
- How to Delete Local Mail on Mac and Stop Terminal Notifications
Best Answer
Launch the UNIX
mail
utility by running the following at the command prompt (in e.g. Terminal.app):You'll see a list of all your messages. From the mail prompt, do
And that should be it. Make sure do to the
q
after thedelete *
command, that saves the changes to disk.