The root mail account has been blown up by mischieveous cronjobs, and I want to completely delete the mail from the account. Is there a key for that in the mail command?
I deleted /var/mail/root but I don't know if that's the proper way to do it, or if the root
file needs to be recreated manually.
Update I recreated the root
file with 660 and root:mail ownership, I'll see if this is needed to let the root account get mail again.
The accepted method is:
Your method should have worked, but you might need to restart sendmail (or whatever) as it might have choked on the brief lack of file.