[Mailman-Users] Re-creating lost mailman archives from GMail account using Gmail API

2005-07-11 Thread Alias
Hello all,

I've recently had an unfortunate data loss - a mailing list which I
run was lost in a server outage, and for some reason my hosting
company was unable to locate the archive backups.

However - I have been running then entire list admin through a GMail
account, and I do in fact have every single post made to the list, and
I can easily recover all of the posts from there.

What I'm contemplating doing is writing a python script to 

a) Recover all of the posts in their original form using GMail api
b) Reconstitute the archives somehow from this data

Now - without getting too much into the details of how the python side
of things would work, does anyone know how I would go about
re-creating the archives? Would it be possible just to re-send every
single mail and somehow fake the headers to make mailman index them
correctly ? Or, better still, is there an existing
script/utility/commandline switch that I could just run on a directory
of email files?

Any input would be most appreciated,
Sincerely,
Alias Cummins
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Re-creating lost mailman archives from GMail account using Gmail API

2005-07-11 Thread Jim Tittsler

On Jul 11, 2005, at 19:42, Alias wrote:

 Now - without getting too much into the details of how the python side
 of things would work, does anyone know how I would go about
 re-creating the archives? [...] Or, better still, is there an existing
 script/utility/commandline switch that I could just run on a directory
 of email files?

The ~mailman/bin/arch script will rebuild the archives given the  
messages in a standard Unix mbox format file.  (Run 'bin/arch --help'  
for more info.  It will explain that typically the mbox will be in  
the archives/private/listname.mbox/listname.mbox )


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Re-creating lost mailman archives from GMail account using Gmail API

2005-07-11 Thread Brian Greenberg
On 7/11/05, Jim Tittsler [EMAIL PROTECTED] wrote:
 
 On Jul 11, 2005, at 19:42, Alias wrote:
 
  Now - without getting too much into the details of how the python side
  of things would work, does anyone know how I would go about
  re-creating the archives? [...] Or, better still, is there an existing
  script/utility/commandline switch that I could just run on a directory
  of email files?
 
 The ~mailman/bin/arch script will rebuild the archives given the
 messages in a standard Unix mbox format file.  (Run 'bin/arch --help'
 for more info.  It will explain that typically the mbox will be in
 the archives/private/listname.mbox/listname.mbox )

And you can retrieve all the posts from Gmail via POP.

 http://mail.google.com/support/bin/answer.py?answer=12103

Once in a local client, you can select the relevant messages and save
them in mbox format.


Brian.
-- 
Brian Greenberg
[EMAIL PROTECTED]
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp