On 6/19/25 15:42, Sam Darwin via Mailman-users wrote:
It takes time to figure out a new feature. I see what is happening. :-) Or,
merely one step further.
After a template is stored in the DB you can remove POSTORIUS_TEMPLATE_BASE_URL
because the value is cached in the DB. That explains the caching.
Next, without POSTORIUS_TEMPLATE_BASE_URL, it assumes
http://localhost:8000/mailman3/ . On our server this is not correct, because
it's listening on a unix socket, as well as 80 and 443, but not 8000.
Actually, it assumes whatever the default is which might be
`http://localhost:8000`. See
https://gitlab.com/mailman/mailman-web/-/blob/master/mailman_web/settings/mailman.py?ref_type=heads#L16.
It's Postorius that adds the /mailman3/... when setting the template
table entry.
If that is not correct for your server, you need to set the correct
value in settings.py.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/YLWZUFT4CFREIV4XPISGWOHLHEOTFBAA/
This message sent to arch...@mail-archive.com