Hi,
On 6/19/21 5:32 AM, Martin Urbanec wrote:
does Mailman 3 (as-installed by Wikimedia) have an API I could use?
Yes it has an API, but it's not available for public access. Everything in Mailman3 is driven by a REST API, however that API has a single user/password and has access to do *everything*, so we can't hand it out.
I'm an administrator of WMCZ's internal maillist, and it would help me if I could sync the addresses with evidence of members with a script rather than having to do it manually each time a new member is admitted (or quits).
So...depending on what you plan on syncing it with, this could be doable. In https://phabricator.wikimedia.org/T278361 it's been requested to auto-subscribe people to the Cloud-announce list, which might require making some part of the REST API accessible in the internal network or having scripts run on the lists server.
If you could file a task explaining a bit more detail where you want to sync from, how often it needs to sync, etc. then we could probably figure something out.
-- Kunal