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/lukeOnce 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 >30dYou 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