Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.025 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'facts': 0.09; 'imported': 0.09; 'subject:files': 0.09; 'subject:into': 0.09; 'url:archive': 0.09; 'mailman': 0.10; 'api': 0.11; 'python': 0.11; 'archive': 0.14; '(it': 0.16; 'apis.': 0.16; 'attempted': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'simple.': 0.16; 'simpson': 0.16; 'time.)': 0.16; 'wrote:': 0.18; 'subject:Mailman': 0.18; 'seems': 0.21; 'header:User- Agent:1': 0.23; 'example.': 0.24; 'skip': 0.24; 'cheers,': 0.24; 'looks': 0.24; 'this:': 0.26; 'subject:/': 0.26; 'header:In-Reply- To:1': 0.27; '(this': 0.29; 'robert': 0.30; 'bunch': 0.31; 'anyone': 0.31; 'ago': 0.33; 'problem': 0.35; 'but': 0.35; 'google': 0.35; 'there': 0.35; 'returning': 0.36; 'charset:us- ascii': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'list.': 0.37; 'step': 0.37; 'question,': 0.38; 'to:addr:python-list': 0.38; 'list,': 0.38; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'major': 0.40; 'skip:u 10': 0.60; 'excited': 0.61; 'new': 0.61; 'back': 0.62; 'content-disposition:inline': 0.62; 'show': 0.63; 'hear': 0.63; 'such': 0.63; 'today': 0.64; 'linked': 0.65; 'here': 0.66; 'bikes.': 0.84; 'received:192.168.15': 0.84; 'tossing': 0.84; 'url:reference': 0.84; 'url:v1': 0.84; 'these.': 0.91; 'archive.': 0.93 Date: Sat, 18 Apr 2015 10:33:51 +1000 From: Cameron Simpson To: Python Subject: Re: Importing/migrating Mailman mbox files into Google Groups? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) References: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1429317245 news.xs4all.nl 2886 [2001:888:2000:d::a6]:36269 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89097 On 16Apr2015 08:32, Skip Montanaro wrote: >Quite sometime ago (2011?), the classic-rendezvous mailing list, which had >been hosted by a Mailman instance at bikelist.org, was reconstituted as a >Google Group. Just a bunch of old bikies interested in vintage bikes. The >original archives were never imported into the new group. (It might not >have been possible at that time.) I suspect there might be a way to >accomplish that today using some Google API like this: > >https://developers.google.com/admin-sdk/groups-migration/v1/reference/archive/insert > >Has anyone here attempted such a feat? I have no problem with the Python >side of traversing the necessary mbox archive files, but have no experience >with any of the Google APIs. > >Pointers appreciated... Hmm, I have never used these. However, before you get very excited see if people can get messages back out of the archive. A major annoyance for me with GGroups versus mailman is that if I join a group I cannot download the historical archive. (This is a standard step for me when I join a mailing list. I hear mailman 3 might be tossing this facility; I am unimpressed.) Returning to the original question, it looks like the uppload format is pretty simple. This page: https://developers.google.com/admin-sdk/groups-migration/v1/guides/manage-email-migrations#group_migration_media_upload which is linked to from your link seems to show an example. Cheers, Cameron Simpson Facts do not discourage the conspiracy-minded. - Robert Crawford