I've been working on migrating an old Mailman 2.1 server over to a new server. 
I'm currently using Mailman 2.1.29 for the new server. The new server is a 
CentOS 8 server. The Mailman package that is being used is 

When I try to visit the following link in a web browser: 
server.com/mailman/listinfo, I get the following error: "Bug in Mailman version 
2.1.29 / We're sorry, we hit a bug!" with a specific error of: IOError: [Errno 
13] Permission denied: '/var/log/mailman/error'.

I think this issue is very similar to this past email question: 

But even after setting the group to "mailman" and setting the permissions as 
suggested in that other post for /var/log/mailman and the files within, I still 
get the same error.

I've tried restarting the server to see if that would help (after reading this: 
https://bugzilla.redhat.com/show_bug.cgi?id=1733359#c16), and yesterday that 
seemed to work (because I then got another type of error with Mailman). But 
when I try to restart the server today, I still get the same Errno 13 error.

I think I've even tried setting the /var/log/mailman files to 777 to see if 
that would temporarily fix the permissions issue, with the same result.

I have then tried to disable selinux to see if that would change anything. 
Surprisingly, I'm able to successfully view Mailman on the server when selinux 
is disabled. So it works when selinux is disabled!

Is there a way that I can keep selinux enabled and still have Mailman work as 

In answer to that question, it looks like this informational page explains how 
to allow Mailman to work while selinux is enabled:

I ran the following steps:
sudo yum update selinux-policy
sudo restorecon -R -v /var/lib/mailman
sudo restorecon -R -v /usr/lib/mailman

When I re-enabled selinux and tried visiting Mailman on the new server, it 
appeared to work!

Hope this helps someone in the future.
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/

Reply via email to