[Mailman-Users] Archives not working (yes, I broke it...)

Mark Sapiro msapiro at value.net
Sat Feb 25 02:22:36 CET 2006


Dragon wrote:
>
>But now the archive simply will not work. Nothing gets added to the archive 
>mbox file when I post to the list nor can I access the archive web pages 
>(and yes, I double-checked the list archive settings and made sure the 
>archive files are all still there). I am using the built-in archiver, it 
>seems to not be able to find the archive files because all I get when I try 
>to view the archive is a page that says "Private archive file not found".
>
>I've looked at everything I can think of at this point and can't find a 
>solution. What am I missing? Is there an obscure setting somewhere or a 
>database file or something out there that needs to be told what lists are 
>on the server?

No. The lists are the subdirectories of the lists/ directory - no other
special stuff.

Check Mailman's error log. If there are problems with archiving posts,
there should be shunted messages and tracebacks in the log with more
detailed information.

Also check your web server access and error logs for more detail.

Here's an example what permissions in your archives structure should
look like

[msapiro at msapiro ...f/test-mailman]$ ll -a archives
total 0
drwxrwsr-x+  4 Owner None 0 Dec 19 21:41 .
drwxrwsr-x+ 20 Owner None 0 Feb 24 10:43 ..
drwxrws--x+ 10 Owner None 0 Feb 22 17:57 private
drwxrwsr-x+  2 Owner None 0 Jan 19 20:27 public
[msapiro at msapiro ...f/test-mailman]$ ll archives/private/
total 0
drwxrwsr-x+ 8 Owner None 0 Feb 22 17:57 list1
drwxrwsr-x+ 2 Owner None 0 Jan 31 19:36 list1.mbox
[msapiro at msapiro ...f/test-mailman]$ ll archives/private/list1
total 45
drwxrwsr-x+ 2 Owner None     0 Feb 22 17:57 2005-December
-rw-rw-r--  1 Owner None  1007 Feb 22 17:57 2005-December.txt
drwxrwsr-x+ 2 Owner None     0 Feb 22 17:57 2005-July
-rw-rw-r--  1 Owner None   380 Feb 22 17:57 2005-July.txt
drwxrwsr-x+ 2 Owner None     0 Feb 22 17:57 2006-February
-rw-rw-r--  1 Owner None  9723 Feb 22 17:57 2006-February.txt
drwxrwsr-x+ 2 Owner None     0 Feb 22 17:57 2006-January
-rw-rw-r--  1 Owner None 19067 Feb 22 17:57 2006-January.txt
drwxrwsr-x+ 6 Owner None     0 Feb 22 17:57 attachments
drwxrws---+ 2 Owner None     0 Feb 22 17:57 database
-rw-rw-r--  1 Owner None  2369 Feb 22 17:57 index.html
-rw-rw----  1 Owner None   920 Feb 22 17:57 pipermail.pck
[msapiro at msapiro ...f/test-mailman]$ ll archives/private/list1.mbox/
total 328
-rw-rw-r--  1 Owner None 334064 Feb 22 17:56 list1.mbox
[msapiro at msapiro ...f/test-mailman]$

Note that 'Owner' on your system is probably 'root' or the 'mailman'
user or a combination depending on how mailman was installed. 'None'
above is the 'mailman group and MUST be that group on you system.

-- 
Mark Sapiro <msapiro at value.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