On 3/1/25 13:58, Mark wrote:
I have a MM3 list to whose archive I recently added an mbox file of
older emails.
Viewing/searching the archive (Hyperkitty) is working fine.
Downloading archives "for the month" or "last 30 days" delivers the
expected ".mbox.gz" file and those are fine.
However, when I download the "Entire archive" and attempt to gunzip that
".mbox.gz" file I get the error: " ... unexpected end of file".
The process creating the zip for download times out. You can increase
the timeout. If your wsgi server is Gunicorn, see
https://docs.gunicorn.org/en/stable/settings.html#timeout - for uwsgi
see
https://uwsgi-docs-additions.readthedocs.io/en/latest/Options.html#harakiri
However, it's probably easier to get it in pieces. You can prpbably get
chunks bigger than a month. Look at the URL for a month, e.g. for Jun,
2005 it will be something like
https://www.example.com/archives/list/<fqdn-listname>/export/<fqdn-listname>-2025-02.mbox.gz?start=2025-01-01&end=2025-02-01
The <fqdn-listname>-2025-02.mbox.gz can be any arbitrary file name. The
start and end parameters determine what's included. E.g. for all of 2024
https://www.example.com/archives/list/<fqdn-listname>/export/<fqdn-listname>-2024.mbox.gz?start=2024-01-01&end=2025-01-01
Note that the end date is the first date not included, i.e. the day
after the last date included.
--
Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/E5PQM5CY7MPVAJBSLATDKQYFVS5P6IB5/
This message sent to arch...@mail-archive.com