Linux how to empty root email
If you are administering nix server you’ve probably noticed that root account is used by default for many system emails.
If you did set email forwarding you already received them, but in case you did not the folder continues to grow and it can get thousands of emails.
Cleaning all those email via mail client is at least time consuming.
If you do not want any of those messages you can speedup the process by typing following command:
> /var/spool/mail/root
Leave a Reply
You must be logged in to post a comment.