[Mailman-Users] changing Member Options or Import dumpdb
Michael Menge
michael.menge at zdv.uni-tuebingen.de
Wed Jul 26 08:25:48 CEST 2006
Thanks, that was the hint i was looking for.
Quoting Mark Sapiro <msapiro at value.net>:
> Michael Menge wrote:
>>
>> I want to change the language of all members in a mailinglist. I did't
>> find a direct way so I thought I dump the config.pck file with dumpdb
>> edit the language with search and import the changed output back.
>>
>> But i did't find a way to import the output of dumpdb back to the
>> config.pck.
>
> You can do it with either bin/config_list or bin/withlist. Using
> config_list is probably easier.
>
> The output of bin/dumpdb contains
>
> 'language': { 'u1 at example.com': 'l1',
> 'u2 at example.com': 'l2',
> ...
> 'un at example.com': 'ln'},
>
> assuming you have edited this to
>
> 'language': { 'u1 at example.com': 'll',
> 'u2 at example.com': 'll',
> ...
> 'un at example.com': 'll'},
>
> Edit it further to
>
> mlist.language = { 'u1 at example.com': 'll',
> 'u2 at example.com': 'll',
> ...
> 'un at example.com': 'll'},
>
> and use it as the input to
>
> bin/config_list -i input listname
>
> See "bin/config_list --help".
>
> --
> Mark Sapiro <msapiro at value.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe:
> http://mail.python.org/mailman/options/mailman-users/michael.menge%40zdv.uni-tuebingen.de
>
> Security Policy:
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
>
--------------------------------------------------------------------------------
M.Menge Tel.: (49) 7071/29-70316
Universitaet Tuebingen Fax.: (49) 7071/29-5912
Zentrum fuer Datenverarbeitung mail: menge at zdv.uni-tuebingen.de
Waechterstrasse 76
72074 Tuebingen
More information about the Mailman-Users
mailing list