11 Sep
2024
11 Sep
'24
10:37 p.m.
On 9/11/24 14:32, Andy Matthews wrote:
One quick follow up. I'm making a subscribe request for a moderator. I'm passing in list_id, subscriber, and role (moderator). The request is returning a 201 response, but when I shell into the mailman server and inspect the list directly it shows there are no moderators. I've confirmed the list id, and I can see a list of regular members, but when I use the command line, the only version of the query which shows members is the default:
mailman members <list name>
.
Does mailman members <list name> --role moderator
show the moderator?
The following works for me:
curl -urestadmin:restpass \
--request POST \
-H 'Content-Type: application/json' \
--data-binary '{"list_id": "list.example.com",
"subscriber": "someone@example.com",
"role": "moderator"}' \
http://localhost:8001/3.1/members
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan