Aug. 5, 2026
5:38 a.m.
Le 2026-08-05 04:52, Mark Sapiro a écrit :
The last line
member.delivery_mode = DeliveryMode.plaintext_digestsneeds to be
member.preferences.delivery_mode = DeliveryMode.plaintext_digests ` ``
Super! Thank you very much. Here is the working final (I hope the formatting gets preserved across mail clients).
How to change the Deliverymode for users in one list from MIME Digest to PlainText Digest
su mailman (venv)$ mailman shell -l mylist@mydomain.com Welcome to the GNU Mailman shell Use commit() to commit changes. Use abort() to discard changes since the last commit. Exit with ctrl+D does an implicit commit() but exit() does not. The variable 'm' is the mylist@mydomain.com mailing list
from mailman.interfaces.member import DeliveryMode for member in m.subscribers.members: ... if member.delivery_mode != DeliveryMode.regular: ... member.preferences.delivery_mode = DeliveryMode.plaintext_digests ... commit() exit()