I have setup some cron jobs and they send the crons result to an email. Now over the months I have accumulated a huge number of emails.
Now my question is how can I purge all those emails from my mailbox?
alternative way:
mail -N
d *
quit
-N
Inhibits the initial display of message headers when reading mail or editing a mail folder.
d *
delete all mails