User Tools

Site Tools


deleting_mail

Deleting Mail

If your local mail is stored in single files like:
/var/spool/mail/user
Then you can use the mutt command to delete emails older than x number of days or months.
Eg

# mutt -f /var/spool/mail/luke
Once mutt has loaded, use the following set of commands, replacing 30d with the emails you with to delete older than
Eg I with to delete emails older than 30 days:
^D
~d >30d
You could also used m for months and y for years

deleting_mail.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki