[Mailman-Users] How may I delete selected messages from archive?
David Osborne
David.Osborne at nottingham.ac.uk
Wed Nov 29 11:25:41 CET 2000
For Dan's "edit the mbox file", you could look at Phil Male's
expire_mail Perl script, which allows message expiry from a
traditional-format Unix mailbox by criteria of age, sender, status,
subject...
http://www.cpan.org/scripts/mailstuff/expire_mail.pl
On Mon, Nov 27 2000 at 12:42:41 -0800, Dan Mick wrote
> "Bob Puff at NLE" wrote:
> >
> > I would want something like:
> >
> > delete messages older than _____ days, or
> > delete messages older than date: ______
> >
> > Right now it's tough with a message being in 3 different places: its own html file, the mbox file, and an indexed file. I can see the need for gigs of HD space for active lists. A way to prune this is really needed.
>
> Well, again:
>
> 1) rm the archives (except for the .mbox file)
> 2) edit the mbox file
> 3) run bin/arch
>
> is not foolproof or trivial, but compared to other "log-reduction"
> tools, it ain't bad.
>
> But yes, I agree, a tool to do this would be nice.
--
David Osborne david.osborne at nottingham.ac.uk
Academic Computing Services phone/voicemail: +44 (0)115 951 3397
The University of Nottingham fax: +44 (0)115 951 3358
Nottingham NG7 2RD, UK http://www.nottingham.ac.uk/~cczdao/
More information about the Mailman-Users
mailing list