On 1/2/22 4:34 AM, horvath.arpad.szfvar@gmail.com wrote:
Can you go to https://lists.xxx.hu/hyperkitty/api/lists and get a response from Django REST framework which is a json representation of your mailing lists info?
In this list I have just one list that I created for testing. And I can't see there the two lists I've imported from mailman2, e.g. korus. I guess because of admin is not a list list member there. I can see the korus at https://lists.xxx.hu/hyperkitty/ , but not at https://lists.xxx.hu/postorius/lists/ .
when you view https://lists.xxx.hu/postorius/lists/ is there a Filter by
Role dropdown at the top of the listing? If so, if you select All
do
you then see the lists. Postorius by default shows only those lists in
which you have a role.
If you still don't see the lists, what does the command mailman lists
show?
I guess the setting below is not good.
MAILMAN_ARCHIVER_FROM = ('127.0.0.1', '::1')
Should I set it to ('https://lists.xxx.hu/hyperkitty', '::1') ? Doesn't seem to work, like that.
It needs to be an IP. Set it to ('xxx.xxx.xxx.xxx', '127.0.0.1', '::1')
where xxx.xxx.xxx.xxx is the IP of lists.xxx.hu or just
('xxx.xxx.xxx.xxx',)
would probably work.
And what about MAILMAN_REST_API_URL? How can I found its proper value? It's currently the default value but if I try to reach it with wget http://localhost:8001 I get a 404. not found. How can I find the right value?
If Postorius works, It's good. wget http://localhost:8001
returns a
404 as it should because this is a REST API and /
is not a known
endpoint. Something like
wget --user restadmin --password restpass http://localhost:8001/3.1/lists
should work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan