deleting mail in terminal

Get rid of the “You have new mail” in terminal!

$ mail
$ delete 1-30
$ q

Make sure do to the q after the delete 1-* command, that saves the changes to disk.

Advertisements