Mark Sapiro | 1 Aug 2006 18:34

Re: Setting subscriber bits from command line

A. Khattri wrote:
>
>Is there a command-line tool for setting/unsetting the various subscriber
>flags?

Only bin/withlist. For example, in withlist, one could do something like

from Mailman import mm_cfg
m.getMemberOption('user <at> example.com', mm_cfg.AcknowledgePosts)
m.setMemberOption('user <at> example.com', mm_cfg.AcknowledgePosts, True)

See mm_cfg.py/Defaults.py and MemberAdaptor.py/OldStyleMemberships.py
for more detail.

--

-- 
Mark Sapiro <msapiro <at> value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


Gmane