[Mailman-Users] add admins and moderators

2008-12-05 Thread faisal anif

hi,
 
I have about 120 lists on my server for different customers, some are small (50 
subscribers max) and some are medium and big (100 - 300 subscribers)
 
I need to add my email address as a server owner to administrate and moderate 
the lists to make sure no illegal actions are taken.. is there a SSH command 
line that I can use to add my email as moderator or administrator instead of 
logging into the web interface of each list and adding it manually? if SSH is 
applicable I can make a script to do it automatically..
 
Thanks

_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] add admins and moderators

2008-12-05 Thread Brad Knowles

faisal anif wrote:


I need to add my email address as a server owner to administrate and
moderate the lists to make sure no illegal actions are taken.. is there a
SSH command line that I can use to add my email as moderator or
administrator instead of logging into the web interface of each list and
adding it manually? if SSH is applicable I can make a script to do it
automatically..


If you have the site admin password, you can log in and administer any list 
you want.  You don't have to have the list admin password.  Moreover, 
logging in and controlling things depends only on the admin password, and 
not whether your e-mail address is listed as one of the official owners. 
Anyone with the listowner or site admin password can get in, regardless.



However, this doesn't do anything for notifications.  If you want to be 
explicitly listed as a listowner for every list, and get all the appropriate 
listowner notices, then you will actually need to go in and add yourself as 
a listowner to each and every list.


There are command-line tools that you can use to help make this process a 
lot easier, but I don't think there are any pre-written tools to do exactly 
what you want.  I think you could get there using a withlist script, however.


FAQ 4.09 at http://wiki.list.org/x/z4A9 details the various command-line 
tools that you have available to you as a site administrator.  Try looking 
at those, and searching the archives and the FAQ Wiki to see examples of how 
to use some of them -- like withlist.


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] add admins and moderators

2008-12-05 Thread Mark Sapiro
faisal anif wrote:
 
I need to add my email address as a server owner to administrate and moderate 
the lists to make sure no illegal actions are taken..


You don't need to add your address as owner or moderator in order to
administer a list. You only need to add your address to 'owner' if you
want to receive notices sent by mailman and others to the owner.


is there a SSH command line that I can use to add my email as moderator or 
administrator instead of logging into the web interface of each list and 
adding it manually?


Presumably you already have set a Mailman site password since how else
would you log in to the web interface of each list? So I guess you
really do want to add your address as an owner of each list


if SSH is applicable I can make a script to do it automatically..

See
http://mail.python.org/pipermail/mailman-users/2005-December/047993.html
for a way to add an owner to a list via the command line. To do it for
all lists, you could use a script like

#! /bin/sh
cd /mailman/installation/directory
for list in `bin/list_lists --bare` ; do
bin/config_list -i /path/to/file $list
done

Where /path/to/file is the path to the input prepared according to the
above referenced post.

As Brad notes, you can also do this with a withlist script and use
withlist's --all option to process all lists, but the withlist script
you'd need would be a bit more complex than the input file to
config_list which could be as simple as the single line

mlist.owner.append('[EMAIL PROTECTED]')

-- 
Mark Sapiro [EMAIL PROTECTED]The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9