Timeout in Postorius when trying to approve or reject moderated messages
Hi,
I just set up a new Mailman 3 Suite installation (GNU Mailman 3.3.1 (Tom Sawyer)) on CentOS 7 using the virtualenv installation guide: https://docs.mailman3.org/en/latest/install/virtualenv.html
I encountered a few issues, but I was able to resolve all of them, I think. All three components of the suite are up and running. The backend is a MariaDB database, the frontend is Apache with mod_wsgi.
I can send messages to the server, and they are delivered to list members. One thing that I can't figure out is why I can't approve or reject messages that are held for moderation.
In case it matters, I'm trying to moderate the list using the "root" account. Discarding works, but when I try to either accept or reject a message, there is a timeout.
I can't find anything in mailman.log, mailmansuite.log or even /var/log/httpd/access_log.
I managed to reject and approve messages manually using mailmanclient and the REST API, so the issue appears to be somewhere between Postorius 1.3.3 and mailmancore.
Any ideas?
.:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:. .:.Regionales Rechenzentrum (RRZK).:. .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.
On 8/27/20 10:33 AM, Sebastian Hagedorn wrote:
In case it matters, I'm trying to moderate the list using the "root" account. Discarding works, but when I try to either accept or reject a message, there is a timeout.
Is there an error message displaying in Postorius or do you receive an Apache timeout error? When you say root account, do you mean the Django superuser account? Also have you made sure all of the permissions are owned by the mailman user in /opt/mailman?
-- Please let me know if you need further assistance.
Thank you for your business. We appreciate our clients. Brian Carpenter EMWD.com
-- EMWD's Knowledgebase: https://clientarea.emwd.com/index.php/knowledgebase
EMWD's Community Forums http://discourse.emwd.com/
Am 27.08.20 um 16:41 schrieb Brian Carpenter:
On 8/27/20 10:33 AM, Sebastian Hagedorn wrote:
In case it matters, I'm trying to moderate the list using the "root" account. Discarding works, but when I try to either accept or reject a message, there is a timeout.
Is there an error message displaying in Postorius or do you receive an Apache timeout error?
Neither. The browser times out.
When you say root account, do you mean the Django superuser account?
I guess? It's the one I created using "python manage.py createsuperuser".
Also have you made sure all of the permissions are owned by the mailman user in /opt/mailman?
Right now everything is running as root (except for Apache). I realized too late that I should've used a mailman user. Could that be the reason for the issue?
Am 27.08.20 um 17:07 schrieb Sebastian Hagedorn:
Am 27.08.20 um 16:41 schrieb Brian Carpenter:
On 8/27/20 10:33 AM, Sebastian Hagedorn wrote:
In case it matters, I'm trying to moderate the list using the "root" account. Discarding works, but when I try to either accept or reject a message, there is a timeout. Is there an error message displaying in Postorius or do you receive an Apache timeout error? Neither. The browser times out.
... and when I realized that, I tried a different browser, where it works.
Sorry for the noise. FWIW, Firefox isn't working (at least right now), Safari is.
Sebastian Hagedorn writes:
Sorry for the noise. FWIW, Firefox isn't working (at least right now), Safari is.
Aside from cookies and cache as Mark mentions, Firefox may be blocking scripts or being very demanding about DNS. I would bet on the cookies and cache, though.
Steve
On 8/27/20 8:07 AM, Sebastian Hagedorn wrote:
Right now everything is running as root (except for Apache). I realized too late that I should've used a mailman user. Could that be the reason for the issue?
Since you have determined it was a browser issue, that probably isn't the reason, but running Mailman as root is a bad idea in general for security reasons.
I don't know if it's relevant or not, but I have just recently had issues with Firefox not working properly on two different (not mailman) web sites, and these issues were fixed by clearing cookies and cached data from the affected sites and restarting Firefox.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Am 27.08.20 um 18:05 schrieb Mark Sapiro:
On 8/27/20 8:07 AM, Sebastian Hagedorn wrote:
Right now everything is running as root (except for Apache). I realized too late that I should've used a mailman user. Could that be the reason for the issue?
Since you have determined it was a browser issue, that probably isn't the reason, but running Mailman as root is a bad idea in general for security reasons.
Thanks, I'm aware, and I'm not going to on a production system. This installation is just a trial run.
I don't know if it's relevant or not, but I have just recently had issues with Firefox not working properly on two different (not mailman) web sites, and these issues were fixed by clearing cookies and cached data from the affected sites and restarting Firefox.
I can confirm that that worked in my case as well.
participants (4)
-
Brian Carpenter
-
Mark Sapiro
-
Sebastian Hagedorn
-
Stephen J. Turnbull