FAQ
[I have send this earlier, but it didn't seem to make it to the list.]


Hello,

I have recvently migrated my mail- and mailinglistserver to a new box.
All works well except for one thing: access to the public archives is
denied.

The box is running Linux 2.4.10, with Exim 4.20, Apache 2.n and Mailman
2.1. All is running well. Except for one thing: access to private
archives available, to public archives denied.

damogran:/ # la -dA /usr/lib/mailman/
drwxrwsr-x 20 root mailman 536 Dec 9 00:28 /usr/lib/mailman/

damogran:/ # la -dA /usr/lib/mailman/archives
drwxrwsr-x 4 root mailman 96 Dec 7 18:44 /usr/lib/mailman/archives

damogran:/ # la -A /usr/lib/mailman/archives
total 1
drwxrws--x 27 wwwrun mailman 1016 Dec 8 02:00 private
drwxrwsr-x 2 wwwrun mailman 376 Dec 9 01:15 public

damogran:/ # la /usr/lib/mailman/archives/public/test-ml*
lrwxrwxrwx 1 wwwrun mailman 41 Dec 7 18:40 /usr/lib/mailman/archives/public/test-ml -> /usr/lib/mailman/archives/private/test-ml
lrwxrwxrwx 1 wwwrun mailman 46 Dec 7 18:40 /usr/lib/mailman/archives/public/test-ml.mbox -> /usr/lib/mailman/archives/private/test-ml.mbox

damogran:/ # la -Ad /usr/lib/mailman/archives/private/test-ml
drwxrwsr-x 5 wwwrun mailman 360 Dec 8 03:27 /usr/lib/mailman/archives/private/test-ml

And, as for the Apache configuration:

<VirtualHost *>
[...]
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
Alias /pipermail/ /usr/lib/mailman/archives/public/
<Directory /usr/lib/mailman/>
Options FollowSymLinks
</Directory>
<Directory "/usr/lib/mailman/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Of course I did run check_perms (which no longer gives any warnings) and
check Google. To no avail.

Someone an idea?

--
Rejo Zenger <rejo at rz.xs4all.nl> - http://rejo.zenger.nl - PGP 0x75FC50F3

Search Discussions

  • Simon White at Dec 12, 2003 at 8:25 am

    11-Dec-03 at 20:58, Rejo Zenger (subs=mailman-users at rz.xs4all.nl) wrote :
    The box is running Linux 2.4.10, with Exim 4.20, Apache 2.n and Mailman
    2.1. All is running well. Except for one thing: access to private
    archives available, to public archives denied.
    As long as wwwrun is what Apache runs as, the permissions look OK.
    Apache error logs should tell you a bit more about what is going on. I'm
    not sure that the Alias settings in your httpd.conf are correct because
    they aren't necessarily recursive: you have
    Alias /pipermail/ /usr/lib/mailman/archives/public/
    <Directory /usr/lib/mailman/>
    Options FollowSymLinks
    </Directory>
    <Directory "/usr/lib/mailman/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    What I have:-

    Alias /pipermail/ /usr/local/mailman/archives/public/

    <Directory "/usr/local/mailman/archives/public">
    Options Indexes FollowSymlinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>

    The ScriptAlias part looks OK and I assume that works, so I have cut
    that part out.

    As for private archives, they are not accessed in the same way, and
    should not be accessible if you set the Alias configuration as above.
    Access to the private archives is via a cgi-bin script.

    --
    Simon White. Internet Consultant, Linux/Windows Server Administration.
    email, dns and web servers; php javascript perl asp; MySQL MSSQL Access
    Bridging the gap between management, HR and the tech team.
  • Rejo Zenger at Dec 12, 2003 at 8:25 pm
    ++ 12/12/03 09:25 +0100 - Simon White:
    What I have:-
    <Directory "/usr/local/mailman/archives/public">
    [settings]

    That did the trick. Thank you.

    --
    Rejo Zenger <rejo at rz.xs4all.nl> - http://rejo.zenger.nl - PGP 0x75FC50F3

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedDec 11, '03 at 7:58p
activeDec 12, '03 at 8:25p
posts3
users2
websitelist.org

2 users in discussion

Rejo Zenger: 2 posts Simon White: 1 post

People

Translate

site design / logo © 2022 Grokbase