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

to rebuild the archive. If you do want to keep the old messages, There
are multiple ways to proceed. I suggest keeping
archives/private/listname.mbox/listname.mbox as the full archive and
saving the pruned file as say
archives/private/listname.mbox/listname.mbox.recent and then
rebuilding the archive with

bin/arch --wipe listname
archives/private/listname.mbox/listname.mbox.recent

(all on one line)

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to