
Hello
I'm running Debian 12 with the latest version and installed mailman3 via apt install-mailman3-full. Everything works, I'm using MySQL as the database.
There's something strange, and I can't find a source/solution. When I first access the website domain.nl/mailman3, it's redirected to domain.nl/mailman/postorius/lists/, resulting in a 404 error (3 after mailman is missing). When I accessed it a second time with the same link (domain.nl/mailman3), I was redirected to domain.nl/mailman3/postorius/lists and the welcome page appeared.
This is strange...
I tested it on a mobile device with Chrome and Firefox, and on a desktop with Chrome and Edge. All the results were the same.
Is there a specific file to look add?
Regards, Peter

peter@pi4cc.nl writes:
I'm running Debian 12 with the latest version and installed mailman3 via apt install-mailman3-full.
Assuming you have done no configuration "by hand", this is almost certainly a Debian issue. You should report it to them.
When I first access the website domain.nl/mailman3, it's redirected to domain.nl/mailman/postorius/lists/, resulting in a 404 error
The initial redirect is done by your webserver, not by Mailman. I have no good idea why the result changes if you do it twice.[1] In Apache, this is likely in a file in /etc/apache2/sites-available/. In nginx, similarly /etc/nginx/sites-available/. The file's name is likely to be either something like "debian-default.conf" or "mailman3.conf" for either of those popular webservers.
Footnotes: [1] The only thing I can think of is that in one case you accessed domain.nl/mailman3, and in the other domain.nl/mailman3/ (difference is the trailing "/"), and there are separate redirects for the two URLs for some reason.
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan

On August 11, 2025 1:06:18 PM GMT, peter@pi4cc.nl wrote:
There's something strange, and I can't find a source/solution. When I first access the website domain.nl/mailman3, it's redirected to domain.nl/mailman/postorius/lists/, resulting in a 404 error (3 after mailman is missing). When I accessed it a second time with the same link (domain.nl/mailman3), I was redirected to domain.nl/mailman3/postorius/lists and the welcome page appeared.
See the post at <https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...> or perhaps the entire thread.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.
participants (3)
-
Mark Sapiro
-
peter@pi4cc.nl
-
Stephen J. Turnbull