[Mailman-Users] Changing name of mailman list that I own
mark at msapiro.net
Sat Jan 17 07:04:08 CET 2015
Mark Sapiro wrote:
> On 01/15/2015 06:07 PM, Stephen J. Turnbull wrote:
>> (@Mark: do you have script to "clone" a list with a new name?)
> I don't currently, but it seems like a good idea, I'll see what I can
> come up with.
OK, there now is one at <http://www.msapiro.net/scripts/clone_list>
(mirrored at <http://fog.ccsf.edu/~msapiro/scripts/clone_list>)
Here's the command help:
> usage: clone_list [-h] [-r REAL_NAME] [-o OWNER] [-p PASSWORD]
> [-s SUBJECT_PREFIX] [-m]
> old_list new_list
> Clone an existing list. I.e., create a new list with settings that match as
> closely as possible those of an existing list.
> positional arguments:
> old_list The name of the list to clone.
> new_list The name of the list to create.
> optional arguments:
> -h, --help show this help message and exit
> -r REAL_NAME, --real_name REAL_NAME
> The real_name attribute of the new list. This must
> differ only in case from the new_list argument. The
> default is the name of the new list with the initial
> character uppercased.
> -o OWNER, --owner OWNER
> Specify the new list owner's email address. The
> default is the old list's owner(s).
> -p PASSWORD, --password PASSWORD
> Specify a new list admin password. The default is the
> old list's password.
> -s SUBJECT_PREFIX, --subject_prefix SUBJECT_PREFIX
> Specify a new value for subject_prefix. The default is
> the old list's subject_prefix.
> -m, --members Clone the membership list and member options from the
> old list. The default is the new list has no members.
> Other than the list's name, real_name and any options given as above, all
> attributes of the new list except for membership will be the same as those of
> the old list. The new list will have no members unless -m/--members is
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users