Mailman 3 - docker container - sync_members
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?
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?
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
On Tue, Oct 20, 2020, at 12:27 PM, Mark Sapiro wrote:
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 oldermailman members --sync
option (introduced in core 3.3.1). There arerolling releases
<https://asynchronous.in/docker-mailman/#rolling-releases> which should have these.
NEWS file is very outdated, I should remove it.
The containers have latest released version if you are using the 0.3 tags and as Mark mentioned, mailman members --sync
option should work.
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
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
participants (3)
-
Abhilash Raj
-
holman@uw.edu
-
Mark Sapiro