On April 25, 2026 10:27:06 PM GMT+02:00, Craig Leres via Mailman-users <mailman-users@mailman3.org> wrote:
One feature the existing mailman 2 lists uses that I can't get working with mailman 3 are templates. After using "mailman import21" I found files with names such as list:member:regular:footer.txt in the list tree. However they were ignored so I removed them I tried tried creating a template using the web postorius gui. When a message is injected, I see an error log from the out runner:
Did you by chance run import21 as root or another non-mailman user resulting in template files unreadable by Mailman?
Apr 25 12:32:22 2026 (82977) Cannot connect to SMTP server 127.0.0.1 on port 25
This is a well known issue. See <https://gitlab.com/mailman/mailman/-/work_items/582> and related issues referenced therein.
Following the error message, the out runner goes cpu bound, creating and deleting queue files in queue/out with .pck and .bak extensions, very quickly.
I updated the code to print the exception and it tells a completely different story:
Apr 25 12:38:15 2026 (83339) Cannot connect to SMTP server 127.0.0.1 on port 25 (HTTPConnectionPool(host='localhost', port=8000): Max retries exceeded with url: /api/templates/list/test.example.com/list:member:regular:footer (Caused by NewConnectionError("HTTPConnection(host='localhost', port=8000): Failed to establish a new connection: [Errno 61] Connection refused")))
I'm using the default webservice port (8001) so I would not expect anything to ever be listening on 8000.
The default web service port (Postorius and HyperKitty) is 8000. Port 8001 is Mailman core's rest api.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.