Skip to content

Instantly share code, notes, and snippets.

@yannvery
Created January 6, 2016 08:44
Show Gist options
  • Save yannvery/449d012f4231876a5e26 to your computer and use it in GitHub Desktop.
Save yannvery/449d012f4231876a5e26 to your computer and use it in GitHub Desktop.
Cleanup Ubuntu mailbox

All mails received by a user are stored into: /var/mail/username

Open mailbox without initial display: mail -N
Then delete all mails: d *

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment