Hi there, i am using a mailman 3.2.1, core Api 3.0, Mailman Core Python Version 3.7.3. I have to create a large number of Mailman lists, all with the simulare settings. Is there a way to clone a list with all settings an another list name? Thank you :-) Wolfgang
On 2/5/21 2:54 AM, w.schoener@alp.dillingen.de wrote:
Hi there, i am using a mailman 3.2.1, core Api 3.0, Mailman Core Python Version 3.7.3. I have to create a large number of Mailman lists, all with the simulare settings. Is there a way to clone a list with all settings an another list name?
Not currently in Mailman 3. At least not easily. I suppose you could just create the new lists, e.g. with something like:
#! /bin/bash
for list in cat lists
; do
bin/mailman create $list
done
and then run database queries to update the mailinglist table entries for the new lists.
It would not be difficult to create a clonelist mailman subcommand to clone a list in this way, but it doesn't currently exist.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
w.schoener@alp.dillingen.de