On 10/20/20 9:45 AM, holman@uw.edu wrote:
I would like to populate list members via the Mailman 3 sync_members script.
However, I am using Mailman 3 in docker containers and it doesn't appear to have this command. How are others completing this synchronization?
I'm not sure what version of Mailman core is in the Docker containers.
According to https://asynchronous.in/docker-mailman/NEWS.html, Mailman
core is docker version 1.1.1 released Aug 9 2017 which is about the time
of MM Core 3.1.0 which is quite old and has neither a mailman syncmembers
(introduced in core 3.3.2) command nor the older mailman members --sync
option (introduced in core 3.3.1). There are rolling releases
<https://asynchronous.in/docker-mailman/#rolling-releases>
which should have these.
Searching this list I found a reasonable approach: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
Is there a different/preferred solution?
The script at
<https://gitlab.med.stanford.edu/irt-public/mailman-tools/-/blob/master/sync_users.py>
seems fine. The alternative is to update your Docker container to one
including the appropriate mailman
sub-command.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan