[EMAIL PROTECTED] wrote:
>
>Is there a way to set a user's topics via a cli command?   


You can do this with a withlist script such as the set_topics.py.txt
script attached. You would save this in Mailman's bin/ directory as
set_topics.py and run it via

  bin/withlist -l -r set_topics <list> <user-email> [<topic> ...]'

where <list> is the list name, <user-email> is the address of the
member and these are followed by zero or more topic names which will
become the topics the user is subscribed to (zero topics will remove
any subscribed topics, one or more will replace any subscribed topics
with the ones given).

Alternatively, you can use wget or something similar to send the
appropriate data to the user options CGI. See
<http://www.google.com/search?&q=site%3Amail.python.org++inurl%3Amailman++wget>
for some examples of using wget.

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

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to