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