On 2/17/22 10:10, Stephen Daniel wrote:
Fixed the POSTORIUS_TEMPLATE_BASE_URL. Doesn't fix the issue. I've been playing with wget, and no matter what I put, I keep getting a 404 error.
So: this works:
wget -O wget.out --user restadmin --password restpass ' http://localhost:8001/3.1/lists/list.example.com'
but this does not (404 error):
wget -O wget.out --user restadmin --password restpass ' http://localhost:8001/3.1/templates/list/list.example.com/list:user:notice:w...
You are using Mailman core's REST API which is wrong. You need to get the template from Postorius. Maybe something like
http://localhost/postorius/api/templates/list/list.example.com/list:user:not...
Where http://localhost/postorius/ is the URL you use to access Postorius, maybe mailman3 instead of postorius.
Once you figure that out, POSTORIUS_TEMPLATE_BASE_URL is just the scheme and domain part of that.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan