Create mailman archive from the gz files downloaded from the archive web page?
Is there an easy (well, automated) way to import the .txt.gz files that are downloadable from a list's archive? I've done a bit of searching, and it seems that all assume that the filesystem is available (to just copy archives over).
I suspect the answer will be something in terms of bin/arch, but ...
Thanks.
Adam Goldberg AGP, LLC +1-202-507-9900
On 01/25/2017 08:11 AM, Adam Goldberg wrote:
Is there an easy (well, automated) way to import the .txt.gz files that are downloadable from a list's archive? I've done a bit of searching, and it seems that all assume that the filesystem is available (to just copy archives over).
I am not sure what you are ultimately wanting to do, but you don't want the periodic .txt or .txt.gz files. The file you want is the cumulative archives/private/listname.mbox/listname.mbox file which contains unscrubbed (at least if the list's scrub_nondigest is No) messages with complete headers, not scrubbed messages with only selected headers.
Any list member can download this via the web.
If the site has set
PUBLIC_MBOX = Yes
There will be a link to "download the full raw archive" on the lists archive contents page.
If not you can still get it via a private archive url of the form http://example.com/mailman/private/listname.mbox/listname.mbox where listname is the actual list name, and yes, it appears twice. This does require authentication as a list member or admin/moderator, even if the archives are public, and may require using something like curl or wget if the archive is large to avoid browser time outs.
Once you have the mbox, you use bin/arch to import it into another Mailman instance. There is no "web" way to do that.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Yea, nope, that doesn't seem to work ("Private archive not found"). It might be disabled or something.
Ultimately, I want to make the archives available on a new server via the normal methods.
Adam Goldberg AGP, LLC +1-202-507-9900
-----Original Message----- From: Mailman-Users [mailto:mailman-users-bounces+adam=agp-llc.com@python.org] On Behalf Of Mark Sapiro Sent: Wednesday, January 25, 2017 7:24 PM To: mailman-users@python.org Subject: Re: [Mailman-Users] Create mailman archive from the gz files downloaded from the archive web page?
On 01/25/2017 08:11 AM, Adam Goldberg wrote:
Is there an easy (well, automated) way to import the .txt.gz files that are downloadable from a list's archive? I've done a bit of searching, and it seems that all assume that the filesystem is available (to just copy archives over).
I am not sure what you are ultimately wanting to do, but you don't want the periodic .txt or .txt.gz files. The file you want is the cumulative archives/private/listname.mbox/listname.mbox file which contains unscrubbed (at least if the list's scrub_nondigest is No) messages with complete headers, not scrubbed messages with only selected headers.
Any list member can download this via the web.
If the site has set
PUBLIC_MBOX = Yes
There will be a link to "download the full raw archive" on the lists archive contents page.
If not you can still get it via a private archive url of the form http://example.com/mailman/private/listname.mbox/listname.mbox where listname is the actual list name, and yes, it appears twice. This does require authentication as a list member or admin/moderator, even if the archives are public, and may require using something like curl or wget if the archive is large to avoid browser time outs.
Once you have the mbox, you use bin/arch to import it into another Mailman instance. There is no "web" way to do that.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/adam%40agp-llc.com
On 01/25/2017 04:39 PM, Adam Goldberg wrote:
Yea, nope, that doesn't seem to work ("Private archive not found"). It might be disabled or something.
What is the URL you normally use to access the lists archive? If it is a private url, just change the listname at the end to listname.mbox/listname.mbox. Note that if this is cPanel or something similar, you have to use the fully qualified name of the form listname_domain.
If the archive is public, the URL will be like the one for the listinfo page with 'listinfo' replaced by 'private' and the listname replaced by listname.mbox/listname.mbox
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Adam Goldberg
-
Mark Sapiro