[Mailman-Users] del. mailman archives

jonc at nc.rr.com jonc at nc.rr.com
Wed Dec 25 19:14:19 CET 2002

You will have to write a script to do this.  It's very easy.

The main file to edit will be ~mailman/lists/<listname>.mbox/<listname>.mbox
(that's from memory... so it should be close to correct, but...).  The file
is in linear format.  The first messages to the list are at the top of the
file and the latest messages from the list at the bottom of the file.

You will have to edit the file, then erase all the archives and then
regenerate the archives using the ~mailman/bin/arch command.

If you search the archives you will find a message (or group of messages)
that details every step and has a sample script to edit the Mbox file.

Good Luck, and let us know if you need any more help!

Jon Carnes

Original Message:
From: Matthias F. Brandstetter haim at lame.at
Date: Sun, 22 Dec 2002 14:28:32 +0100
To: mailman-users at python.org
Subject: [Mailman-Users] del. mailman archives

Hello Mailman team,

yesterday I installed mailman on my server and it works fine. But 
since I have limited disk space, I cannot archive the mails for an 
unlimited time.

Now to my question: Is there a way to config Mailman in a way, that it 
deletes the archives after let's say one week? Or do I have to delete 
one or more file(s) manually? And if so, which files do I have to 
delete in order to only keep on week of the archive?

Greets and thanks in advance, Matthias

Mailman-Users mailing list
Mailman-Users at python.org
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: jonc at nc.rr.com
Unsubscribe or change your options at

mail2web - Check your email from the web at
http://mail2web.com/ .

More information about the Mailman-Users mailing list