[Mailman-Users] Mailman archive forbidden

Massimo Barbieri massimo at fsfe.org
Tue Sep 11 08:39:34 CEST 2012


Hi,
I have a fresh installation of Mailman on Debian Wheezy, and my public
mailing list archive is inaccessible (403 Forbidden), but if I switch to
private archive it works without error.

1) I tryed to run check_perms -f as root and I got:
wrong group for /var/lib/mailman/cron (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/mail (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/icons (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/logs (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/bin (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/scripts (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/templates (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/Mailman (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/cgi-bin (ha root invece di list) (fixed)
wrong group for /var/lib/mailman/locks (ha root invece di list) (fixed)
Problemi riscontrati: 10
Per correggere gli errori rilancia il comando come
list (o root) con il flag -f

2) I tryed to put the user list in the www-data group as reported here:

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1046834.html


------------------------------------
Here is a part of my mailman.conf:

<Directory /var/lib/mailman/archives/>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

Alias /pipermail/ /var/lib/mailman/archives/public/
Alias /images/mailman/ /usr/share/images/mailman/
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
ScriptAlias /create /usr/lib/cgi-bin/mailman/create
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo

-------------------------------------
Here are some file and folder permission that could be interesting to solve:
:/var/lib/mailman$ ls -l
drwxrwsr-x  4 root list 4096 apr 16 21:21 archives

:/var/lib/mailman/archives$ ls -l
drwxrws--- 8 list list 4096 set 10 21:37 private
drwxrwsr-x 2 list list 4096 set 11 08:07 public

:/var/lib/mailman/archives$ ls -l public/
lrwxrwxrwx 1 root     list   41 apr 16 21:25 mailman ->
/var/lib/mailman/archives/private/mailman
lrwxrwxrwx 1 www-data list   39 set 11 08:07 users ->
/var/lib/mailman/archives/private/users

:/var/lib/mailman/archives$ ls -l /var/lib/mailman/archives/private
drwxrwsr-x 2 root     list 4096 apr 16 21:25 mailman
drwxrwsr-x 2 root     list 4096 apr 16 21:25 mailman.mbox
drwxrwsr-x 6 www-data list 4096 set 11 03:27 users
drwxrwsr-x 2 www-data list 4096 set 10 21:47 users.mbox

Does anyone have any suggestions?
Ciao,
Max-B

-- 
IM: max-b at jabber.org - OpenPGP Key-Id: 0x5D168FC1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20120911/cd967f03/attachment.pgp>


More information about the Mailman-Users mailing list