[Mailman-Users] Pruning archived messages

Rick Morrison rickmorrison at gmail.com
Mon Jan 3 23:12:40 CET 2011


On Thu, Dec 9, 2010 at 11:53 PM, Mark Sapiro <mark at msapiro.net> wrote:

> Rick Morrison wrote:
>
> >I've been asked to restrict our group's Mailman list to showing only the
> >last six months of archives. Is there any way to remove archived messages
> >older than a certain date and reflect that removal in the archive header's
> >"index.html" file?
>
>
> Edit the archives/private/listname.mbox/listname.mbox file to remove
> all the older messages. If you don't care about keeping the older
> messages at all, just edit the file in place and then run Mailman's
>
> bin/arch --wipe listname
>

Thanks to both repliers - this worked well. I ended up using "archivemail" (
http://archivemail.sourceforge.net/manpage.html) for the mbox handling and
running the whole thing from a cron-launched Python script.


More information about the Mailman-Users mailing list