Mailman2 CLI commands for Mailman3
Hello.
Sorry if this is an old topic. I'm in the process of migrating from 2.1 to 3.2. In my use case one of the advantages of Mailman 2.1 vs services like Google Groups has been the ability to manage lists from the command line. Things like using sync_members to update the list for a committee when the membership of the committee is updated one a year, or like using find_members and remove_members to remove a user from all mailing lists when they leave the organization. Even the ability to script mailing list creation.
So far I haven't found these commands in Mailman3. I hope there is a plan to add these soon.
Thanks.
-Dave
-- Dave Hall Binghamton University kdhall@binghamton.edu
On 10/5/22 07:53, Dave Hall via Mailman-users wrote:
Hello.
Sorry if this is an old topic. I'm in the process of migrating from 2.1 to 3.2. In my use case one of the advantages of Mailman 2.1 vs services like Google Groups has been the ability to manage lists from the command line. Things like using sync_members to update the list for a committee when the membership of the committee is updated one a year, or like using find_members and remove_members to remove a user from all mailing lists when they leave the organization. Even the ability to script mailing list creation.
So far I haven't found these commands in Mailman3. I hope there is a plan to add these soon.
They are there. In MM 3, the command line commands are all subcommands
of the mailman
command. See mailman --help
where you will see
subcommands including syncmembers
, findmember
and delmembers
. Note
that prior to 3.3.2 there were no addmembers
, delmembers
and
syncmembers
subcommands, but there were modes
of the mailman members
command that would accomplish these functions.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark,
Thank you for your reply. This will help greatly in adapting to this new (to me) version.
-Dave
-- Dave Hall Binghamton University kdhall@binghamton.edu 607-760-2328 (Cell) 607-777-4641 (Office)
On Wed, Oct 5, 2022 at 12:00 PM Mark Sapiro <mark@msapiro.net> wrote:
Hello.
Sorry if this is an old topic. I'm in the process of migrating from 2.1 to 3.2. In my use case one of the advantages of Mailman 2.1 vs services
Google Groups has been the ability to manage lists from the command line. Things like using sync_members to update the list for a committee when
membership of the committee is updated one a year, or like using find_members and remove_members to remove a user from all mailing lists when they leave the organization. Even the ability to script mailing
creation.
So far I haven't found these commands in Mailman3. I hope there is a
On 10/5/22 07:53, Dave Hall via Mailman-users wrote: like the list plan
to add these soon.
They are there. In MM 3, the command line commands are all subcommands of the
mailman
command. Seemailman --help
where you will see subcommands includingsyncmembers
,findmember
anddelmembers
. Note that prior to 3.3.2 there were noaddmembers
,delmembers
andsyncmembers
subcommands, but there weremodes
of themailman members
command that would accomplish these functions.-- 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/
participants (2)
-
Dave Hall
-
Mark Sapiro