Young, Darren wrote:
>Is there any way to add list admins from the command line?
You can use bin/config_list with an input file that contains
mlist.owner.append('[EMAIL PROTECTED]')
or the inputfile can be
owner = ['[EMAIL PROTECTED]', '[EMAIL PROTECTED]']
The first form will add [EMAIL PROTECTED] as an additional owner. The
second will replace the current owners with [EMAIL PROTECTED] and
[EMAIL PROTECTED], so you would want to use bin/list_admins first to
find the current owners and make a list that includes the current and
new.
The first form adds one value, but it can be repeated on additional
lines to add more owners. The second form takes a list of as many ','
separated values as you want and can be continued as in
owner = ['[EMAIL PROTECTED]',
'[EMAIL PROTECTED]',
'[EMAIL PROTECTED]']
The use of '()' and '[]' in the above is critical - they aren't
interchangeable. The name 'mlist' is literally that (it's used by
config_list). It is not replaced with the list name. The list name is
given as an option to the config_list command as always.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
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/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp