[Mailman-Users] How may I delete selected messages from archive?

Dan Mick Dan.Mick at west.sun.com
Mon Nov 27 21:02:33 CET 2000


If by "easy" you mean "automated", not that I know of, and if you think about it, trying
to define 'what you want' from the archives is pretty much writing an editor.  What
task would you automate, exactly?

But editing a file is pretty basic sysadmin-type stuff....

"Bob Puff at NLE" wrote:
> 
> Is there an easy way to do this, based peraps on date?  I can see the mbox file browing to hundreds of megs on my lists.
> 
> Bob
> 
> Dan Mick wrote:
> >
> > Maurizio Codogno wrote:
> > >
> > > Subject says pretty much all.
> > > I have an archived list, but I don't want to save all messages
> > > from the list.
> > > I may see the hard way: delete ~mailman/archives/private/list/Date/message
> > > and the bit in ~mailman/archives/private/list/Date.txt , and rebuild
> > > the pointers, but I hope that there is a simpler way!
> >
> > If you still have the whole .mbox file, edit it (i.e. back it up and
> > clip out the bits you don't want, from '^From ' to '^From ' line,
> > and then rerun bin/arch to build the archives anew.
> >
> > ------------------------------------------------------
> > Mailman-Users maillist  -  Mailman-Users at python.org
> > http://www.python.org/mailman/listinfo/mailman-users




More information about the Mailman-Users mailing list