[Mailman-Users] Resetting digest option for all subscribers
jbeall at heraldic.us
Sat May 28 23:06:02 CEST 2005
"Mark Sapiro" <msapiro at value.net> wrote in message
news:PC17402005052809313604680fec86f8 at msapiro...
> Joshua Beall wrote:
>>Is there a way to globally reset the digest option to "on" or "off" for
> You can use bin/withlist to do this. The following is an example of an
> interactive withlist session that does this for a list named
> 'listname'. The >>> and ... are Python prompts. At the second ...
> prompt, just type the return or enter key. At the last >>> prompt,
> type control-D.
> $ bin/withlist -l listname
> Loading list listname (locked)
> The variable `m' is the listname MailList instance
>>>> from Mailman import mm_cfg
>>>> for member in m.getDigestMemberKeys():
> ... m.setMemberOption(member, mm_cfg.Digests, 0)
> Unlocking (but not saving) list: mailman
I take it then that there is no way to do this with an existing script/admin
More information about the Mailman-Users