[Mailman-Users] Multiple users' properties set/unset

Mark Sapiro mark at msapiro.net
Wed May 13 16:01:01 CEST 2009


Denis Yurashkou wrote:
>
>Do you know any way to set/unset properties of subscribers such as "Receive
>as text"?
>We have 2500+ users... and... you understand... )


Go to <http://www.msapiro.net/scripts/> and look at the scripts
set_*.py for examples.

In particular, the script set_mod.py can be changed to (un)set any
option by changing the single occurrence of mm_cfg.Moderate to the bit
you want. See the "Bitfield for user options" section of Defaults.py
for the symbolic names of the options.

-- 
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 mailing list