[Mailman-Users] Setting subscriber bits from command line

Mark Sapiro msapiro at value.net
Tue Aug 1 18:34:18 CEST 2006


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




More information about the Mailman-Users mailing list