On 5/6/19 6:08 AM, Valentin Schwarze via Mailman-Users wrote:
> Hello,
> I wanted to free some server disc space, therefore I wanted to delete my 
> mailman archives. Due to a mistake, I accidently deleted the whole /private 
> and /public directorys. Now, when I want to access my lists through the 
> online admin backend, I get an error.
> Is there any way to rebuild (or reinstall) the archive directory structure? 
> The only documents I found only were about the rebuilding the archive 
> content, but not the directory and file structure itself.
> Any help would be appriciated.


You need to create the public/ directory with mode drwxrwsr-x (2775) and
the private/ directory with mode drwxrws--x (2771) and group equal
Mailman's group.

The public/ directory can be empty. The private/ directory should
contain two sub-directories per list with names xxx and xxx.mbox where
xxx is the list name and with mode mode drwxrwsr-x (2775), and the
private/xxx/ directories should contain an index.html file with content
similar to

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML>
  <HEAD>
     <title>The xxx Archives</title>
     <META NAME="robots" CONTENT="noindex,follow">
  </HEAD>
  <BODY BGCOLOR="#ffffff">
     <h1>The xxx Archives </h1>
     <p>
      No messages have been posted to this list yet, so the archives are
      currently empty.  You can get <a
href="https://example.com/mailman/listinfo/xxx";>more information
      about this list</a>.
     </p>
  </BODY>
  </HTML>



-- 
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
https://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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to