On 12/29/21 4:11 PM, Mark Sapiro wrote:
On 12/29/21 3:58 PM, William Oliver wrote:
I'd like to delete all my archives that are more than a certain age, e.g. more than a week old. I can easily do that with a cron job, deleting old files in
/opt/mailman/mm/var/archives/prototype/testlist@example.com/*
which is, as far as I can see the only place archive emails live.
Those are emails archived in the prototype archiver. That's all the prototype archiver does - store the mail there. The HyperKitty archived emails are stored in the mailmanweb database in the hyperkitty_email table. Attachments are in the hyperkitty_attachment table and other tables are also involved.
As a followup: Is there any need or advantage to running both the prototype and hyperkitty archivers?
I did an installation following the venv directions, and it looks as though the system now uses both archivers.
If this is a duplication of effort and storage, is it safe to disable the prototype archiver like this:
# /etc/mailman3/mailman.cfg .. [archiver.prototype] enable: no
and then delete anything under here?
/opt/mailman/mm/var/archives/prototype/
Thanks
dn