Frank Richter writes: > we’d like to inform our list owners of archive enabled lists about > the (approximate) size of their archive.
I don't think there's a cheap way to do it. "Their archive" doesn't exist in HyperKitty. There's a single archive for the whole instance, and the list's presentation is created by filtering on the list-id attribute of the messages. I think you'd need to use SQL to iterate over the hyperkitty_email table taking the length of the content field, and the hyperkitty_attachment table taking the size field, and adding those up by list. Once you've done that, you could add code to the to_archive handler, or (possibly better from a maintainability standpoint) a new archive_stats handler. Before you do either of those, come back to us because we might be interested in adding such a feature (I have no opinion at this point), which would save you on future maintenance. -- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan _______________________________________________ Mailman-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/[email protected]/message/EEQJ3VBISNAF6N6NZZBE2F7VYQWXJFJD/ This message sent to [email protected]
