mark at msapiro.net
Tue Apr 15 22:46:39 CEST 2008
bergenpeak at comcast.net 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
for some examples of using wget.
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