Oct. 8, 2026
9:03 a.m.
Am Wednesday, 7 October 2026, 16:46:25 Central European Summer Time schrieb Mark Sapiro:
On 10/5/26 4:43 AM, Andreas Vetter wrote:
Hi, We usually configure our lists to have no archives, but sometimes this is done after hyperkitty already creates the empty archive.
Is there a way (script) to delete empty archives using a script?
You could do the following in
django-admin shell>>> from hyperkitty.models import MailingList >>> mlist = MailingList.objects.get(name='list@example.com') >>> mlist.deletereplacing 'list@example.com' with the actual list.
Cool. And since there are a lot of empty archives: How would I find the empty archives to feed to this? Can MailingList.objects.get() come up with something like a number of archived mails or threads or used space?
Thanks, Andreas