How Do I Delete a Mailbox in Linux?
Contents 8 Answers. You Can Simply Delete the /Var/Mail/Username File to Delete All Emails for a Specific User. Also, Emails That Are Outgoing but Have Not Yet...
Contents
8 Answers. You can simply delete the /var/mail/username file to delete all emails for a specific user. Also, emails that are outgoing but have not yet been sent will be stored in /var/spool/mqueue .
How do I delete a mailbox file?
How to Delete Folders in the Mail App
- Open the Mail app.
- Go to the main Mailboxes screen.
- Tap Edit. Then, tap the folder you want to delete.
- Tap Delete Mailbox.
- Confirm you want to remove the folder and any messages contained in it by tapping Delete again.
- Select Done.
Must Read
How do I empty the var spool mail root?
The easiest way is to empty root or users email message file. The file is located at/var/spool/mail/root or /var/spool/mail/username location. You can read mail using mail/mailx command. It is an intelligent mail processing system, which has a command syntax reminiscent of ed with lines replaced by messages.