iMark writes:
Using the Mailman shell, can the delivery mode of Digests be changed to 'Plain text' for all users on just one list ?
Do you want users who are receiving regular delivery to be changed to plain text digest as well as those who are getting MIME digests?
If it is, could someone tell me how that's done.
Run mailman shell with the "-l $LIST" argument ($LIST can be the posting address or the list ID), and then type the following (I'm omitting the shell prompt):
mailman.interfaces.member import DeliveryMode for member in m.subscribers: # If you want regular members switched to digest too, # OMIT the following line if member.delivery_mode != DeliveryMode.regular: member.delivery_mode = DeliveryMode.plaintext_digests
and when that loop finishes, use Ctrl-D to exit, which automatically persists the changes in the database. (If you really mess up -- very unlikely -- you can use "abort()" at the mailman shell top level prompt to abort the database transaction and start over.)
If you think you may want to do this for several lists, "mailman shell --details" will explain how to write a file 'set_digest' that you can place in Mailman's bin directory so you can use "mailman withlist -l $LIST -r set_digest" on each such LIST.
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan