I can't access to archives of my mailman lists :

Ph. Gras ph.gras at worldonline.fr
Mon Sep 18 21:26:37 UTC 2017


Hello there,

unfortunately I'm not able to access to archives (pipermail) of my mailman lists.

I'm using Nginx with a fcgiwrap gateway interface :
:/etc/nginx/sites-available# curl -I http://poste.enpret.com/pipermail/rs-idf-discuter/index.html
HTTP/1.1 403 Forbidden
Server: nginx
Date: Sun, 17 Sep 2017 17:00:25 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive

:/etc/nginx/sites-available# curl -I http://poste.enpret.com/pipermail/rs-idf-discuter/
HTTP/1.1 403 Forbidden
Server: nginx
Date: Sun, 17 Sep 2017 17:01:14 GMT
Content-Type: text/plain
Connection: keep-alive

:/etc/nginx/sites-available# curl -I http://poste.enpret.com/
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Sun, 17 Sep 2017 17:01:30 GMT
Content-Type: text/html
Content-Length: 178
Location: http://poste.enpret.com/listinfo
Connection: keep-alive
X-Robots-Tag: noindex, noarchive

:/etc/nginx/sites-available# curl -I http://poste.enpret.com/listinfo
HTTP/1.1 200 OK
Server: nginx
Date: Sun, 17 Sep 2017 17:01:48 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Cache-control: no-cache
X-Robots-Tag: noindex, noarchive

:/etc/nginx/sites-available# vi poste.enpret.com
[…]
        location /pipermail {
	#	alias /var/lib/mailman/archives/private;
		alias /var/lib/mailman/archives/public;
	#	root /var/lib/mailman/archives/public/;
		autoindex on;
		allow all;
	}
[…]
:/etc/nginx/sites-available# ls -al /var/lib/mailman/archives/public
total 8
drwxrwsr-x 2 list list 4096 sept. 16 18:47 .
drwxrwsr-x 4 list list 4096 nov.  11  2016 ..
lrwxrwxrwx 1 list list   47 sept. 16 18:47 formation-idf -> /var/lib/mailman/archives/private/formation-idf
lrwxrwxrwx 1 list list   41 sept. 15 23:07 mailman -> /var/lib/mailman/archives/private/mailman
lrwxrwxrwx 1 list list   49 sept. 16 18:44 rs-idf-discuter -> /var/lib/mailman/archives/private/rs-idf-discuter
:/etc/nginx/sites-available# ls -al /var/lib/mailman/archives/private
total 32
drwxrws---  8 list list 4096 sept. 16 20:13 .
drwxrwsr-x  4 list list 4096 nov.  11  2016 ..
drwxrwsr-x  7 list list 4096 sept.  5 03:27 formation-idf
drwxrwsr-x  2 list list 4096 sept. 16 20:17 formation-idf.mbox
drwxrwsr-x  2 list list 4096 sept. 15 23:07 mailman
drwxrwsr-x  2 list list 4096 sept. 15 23:07 mailman.mbox
drwxrwsr-x 23 list list 4096 sept. 17 18:17 rs-idf-discuter
drwxrwsr-x  2 list list 4096 sept. 16 20:21 rs-idf-discuter.mbox
:/etc/nginx/sites-available# ls -al /var/lib/mailman/archives/private/mailman
total 12
drwxrwsr-x 2 list list 4096 sept. 15 23:07 .
drwxrws--- 8 list list 4096 sept. 16 20:13 ..
-rw-rw-r-- 1 list list  504 sept. 15 23:07 index.html

# tail -2 /var/log/nginx/poste.enpret.com.error.log
2017/09/18 23:09:38 [error] 32621#0: *68276 "/var/lib/mailman/archives/public/rs-idf-discuter/index.html" is forbidden (13: Permission denied), client: 83.204.192.114, server: poste.enpret.com, request: "GET /pipermail/rs-idf-discuter/ HTTP/1.1", host: "poste.enpret.com", referrer: "http://poste.enpret.com/admin/rs-idf-discuter/members"
2017/09/18 23:10:44 [error] 32621#0: *68276 "/var/lib/mailman/archives/public/rs-idf-discuter/index.html" is forbidden (13: Permission denied), client: 83.204.192.114, server: poste.enpret.com, request: "GET /pipermail/rs-idf-discuter/ HTTP/1.1", host: "poste.enpret.com", referrer: "http://poste.enpret.com/admin/rs-idf-discuter/gateway"

Does someone have an idea of this trouble ?

Regards,

Ph. Gras


More information about the nginx mailing list