[OT-ish] Want command line program to selectively delete emails
David Haguenauer
ml at kurokatta.org
Thu Sep 7 20:42:58 UTC 2023
Answering late:
* Ed Blackman <ed at edgewood.to>, 2023-08-04 14:34:44 Fri:
> Any suggestions for a command line program to select emails for
> deletion based on command line options? I specifically want one
> that can remove emails that were received more than X days ago, but
> can also express "but don't delete if they're flagged". [...]
>
> When I recently upgraded to Debian 12, I found that archivemail has
> been removed from Debian because it's an unmaintained Python 2
> program.
I went through the same realization some time ago. Checking my
configuration, I see that I have replaced archivemail with mail-expire:
https://manpages.debian.org/bookworm/mail-expire/mail-expire.1.en.html
It does not seem to support your requirement to avoid deleting flagged
messages, sadly, but this might be useful to others looking to move
off archivemail.
--
David Haguenauer
More information about the Mutt-users
mailing list