Mailman archive (Pipermail) in Ubuntu 14.04

2 posts / 0 new
Last post
#1 Wed, 03/23/2016 - 04:58
fuerst

Mailman archive (Pipermail) in Ubuntu 14.04

Hi all,

unnoticed by me the Mailman archive provided by the URL http://domain.tld/pipermail/listname was not working anymore in my Virtualmin 5.01 / Ubuntu 14.04 setup. Webbrowser was getting an HTTP 403 error. Apache logged the error [authz_core:error] [pid xxxxx] [client xxx.xxx.xxx.xxx:62122] AH01630: client denied by server configuration: /var/lib/mailman/archives/public/.

I solved it by explicit access configuration for the directory /var/lib/mailman/archives/public/ to Apache:

echo "# Allow access to http://<domain>/pipermail/<list>/.
<Directory /var/lib/mailman/archives/public/>
    Options FollowSymlinks
    AllowOverride None
    Require all granted
</Directory>
" | tee /etc/apache2/conf-available/mailman.conf
a2enconf mailman
service apache2 reload

I wonder how it could have worked without this configuration anyway. On another box with the same Virtualmin / Ubuntu setup it also did not work.

Wed, 03/23/2016 - 05:13
fuerst

BTW: Access to /pipermail/ is not controlled by any security mechanism. List archives are open to the world. You may set the archive_private option in your Mailman list configuration to private to avoid this.

Topic locked