[Mailman-Users] How to delete archives

Mark Sapiro mark at msapiro.net
Wed Jan 13 02:02:43 CET 2010

David Anderson wrote:
>What needs to be in the archive directory for things to work properly?

An 'empty' list archive for a list named 'junk' looks like the following

[mark at sbh16 ~]$ ls -ld mmv/archives/private/junk*
drwxrwsr-x 2 mark mailman 4096 Jan 12 16:48 mmv/archives/private/junk
drwxrwsr-x 2 mark mailman 4096 Jan 12 16:48
[mark at sbh16 ~]$ ls -lAR mmv/archives/private/junk*
total 4
-rw-rw-r-- 1 mark mailman 484 Jan 12 16:48 index.html

total 0
[mark at sbh16 ~]$

i.e. two directories - archives/private/junk and
archives/private/junk.mbox - both in mailman's group (owner not
important) with permissions drwxrwsr-x and an index.html file
archives/private/junk/index.html in mailman's group with permissions
-rw-rw-r-- (contents not important, but normally a "no posts yet"

>I would like to provide the admin a script to enable this sort of thing
>to be done, but am a little lost as to the exact structure of the
>achive directory. Can I ask for help please?

Once posts are archived, there is an
archives/private/junk.mbox/junk.mbox file which is a cumulative *nix
mbox containing all archived posts and a hierarchy of directories and
files in archives/private/junk/ containing the pipermail archive.

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

More information about the Mailman-Users mailing list