On 10/13/2014 02:50 PM, Fabian Santiago wrote:
> Yeh it probably is. I was just curious if anyone had any tools they
> had used successfully. Ok then.


I don't know if you'll get much help from google. This forum thread
<https://productforums.google.com/forum/#!topic/apps/5LdnN7OwEy8> is
almost 5 years old and has no answer.

The only way I know is somewhat kludgey. You can set up the Google group
and add yourself only as a member and then go through the Mailman
cuumulative archive mbox for the list and remail each message with
envelope from you and envelope to your groups address.

I've not tried this for a whole archive, but it works for a few messages
and should work for more.

The messages get put in the archive with the original From:, Subject:
and Date: headers, but they are all archived as of the current date.

This python script edited as indicated will send the mail.

import mailbox
import smtplib

mb = mailbox.mbox('/path/to/mbox', Create=False)  # put actual mbox path
conn = smtplib.SMTP()
conn.connect(...)  # connect to the server that will send the mail
                   # e.g. conn.connect('example.com', 587)
conn.starttls()    # if required
conn.login(...)    # if required
                   # e.g. conn.login('u...@example.com', 'password'
for msg in mb:
    conn.sendmail('y...@example.com',             # your actual email
                  'your_gr...@googlegroups.com', # your group's address
                   msg.as_string())
conn.quit()

-- 
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@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/archive%40jab.org

Reply via email to