Rob Brandt wrote:

>Hi.  I have a list where the moderators have asked that every subscriber 
>be switched to the digest version.  How do I do this, short of a few 
>hundred clicks in the UI?  I'm thinking withlist, but don't see any 
>examples...


There is a script at <http://www.msapiro.net/scripts/set_nodigest.py>
which does the opposite - sets the list non-digestable and switches
all the digest members to regular. That may help.

Here's an actual interactive withlist which just switches all
non-digest members to digest without setting/changing the digestable
and non_digestable attributes.

[m...@sbh16 mailman]$ bin/withlist -l gpc-test
Loading list gpc-test (locked)
The variable `m' is the gpc-test MailList instance
>>> from Mailman import mm_cfg
>>> for member in m.getRegularMemberKeys():
...     m.setMemberOption(member, mm_cfg.Digests, 1)
...
>>> m.Save()
>>>
Unlocking (but not saving) list: gpc-test
Finalizing
[m...@sbh16 mailman]$


-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to