• Home
  • Posts RSS
  • Comments RSS
Blue Orange Green Pink Purple

The thoughts that Jon the Canadian will dare to share

The authors of this blog are strong believers in biblical truth and clear thinking.

Comments are now moderated. If you would like a comment to be posted on the blog, or if you would like to comment the blog authors, leave a comment at the end of a post. It won't automatically get posted, but it will get emailed to the author(s).

This blog is currently undergoing a re-purposing. Please stay tuned.

Gmail to Google Apps Mail

[Warning, this is a techy post]

Finally.

Got it.

2GB of email transferred from my personal gmail account of 3 years to my domain email at google hosted...
  • All dates correct
  • All lookitsme@gmail.com changed to my real email address, so now my emails show that everything (for the last 3 years) was sent to or from my domain email, rather than a gmail account
  • All labels stuck
The process:
  • Install ubuntu as a virtual machine. Just go with vmware, it's so much faster, and you can download a pre-built ubuntu already installed. Don't mess with microsoft virtual pc like I did.
  • Use the Synaptic package manager and get imapsync and it's dependencies.
  • Run imapsync with a command like the following (thanks to this blog post). You may need to escape out the @ symbols . I also had imapsync delete the emails when I was done so when I had to restart it, it would immediately look at new emails rather than going over what it already did:
    imapsync --host1 imap.gmail.com \
    --port1 993 --user1 user@gmail.com \
    --passfile1 ./passfile1 --ssl1 \
    --host2 imap.gmail.com \
    --port2 993 --user2 user@domain.com \
    --passfile2 ./passfile2 --ssl2 \
    --syncinternaldates --split1 100 --split2 100 \
    --authmech1 LOGIN --authmech2 LOGIN \
    --regexmess 's/Delivered-To: user@gmail.com/Delivered-To: user@domain.com/g' \
    --regexmess 's///g' \
    --regexmess 's/Subject:(\s*)\n/Subject: (no--subject)$1\n/g' \
    --regexmess 's/Subject: ([Rr][Ee]):(\s*)\n/Subject: $1: (no--subject)$2\n/g'
  • After that did all it could, I set my new google hosted email to download fromthe old account via pop3, to catch a few (well, a few hundred) missed messages that imapsync didn't get.
I had to restart the process several times over several days. imap sometimes just decides to take a break. There also seemed to be emails that made it choke. I ended up adding to the imapsync command to do specific folders at a time so I could keep a better eye on the progress.

So there you have it, or you can run the Amazon EC2 if you know how to do that (I don't).. or you can pay me to do it :)

Now to import my contacts...
Read More 1 Comment | Posted by Jon the legal immigrant | edit post

1 Comment

  1. Jen on 6/29/08, 1:50 AM

    I've tried to read your techy posts, but am afraid they don't make much sense to me. I'm glad you're sharing your computer knowledge with the world. Those of us who are somewhat inept are grateful. :)

     


Post a Comment

Newer Post Older Post Home

Gmail to Google Apps Mail

  • Blog Archive

    • ►  2010 (24)
      • ►  June (6)
      • ►  May (1)
      • ►  March (4)
      • ►  February (10)
      • ►  January (3)
    • ►  2009 (53)
      • ►  December (1)
      • ►  November (2)
      • ►  September (1)
      • ►  August (12)
      • ►  July (8)
      • ►  June (3)
      • ►  May (5)
      • ►  April (2)
      • ►  March (8)
      • ►  February (3)
      • ►  January (8)
    • ▼  2008 (79)
      • ►  December (3)
      • ►  November (4)
      • ►  October (5)
      • ►  September (6)
      • ►  August (16)
      • ►  July (2)
      • ▼  June (6)
        • Is Direct Buy a cult?
        • Mormons at the door
        • Freebie Friday: Facebook & Flicker on your windows...
        • Gmail to Google Apps Mail
        • Firefox 3 - Internet Explorer now slower than everw
        • Migrating to google hosted email
      • ►  May (15)
      • ►  April (3)
      • ►  March (6)
      • ►  February (8)
      • ►  January (5)
    • ►  2007 (48)
      • ►  December (3)
      • ►  November (3)
      • ►  October (1)
      • ►  September (7)
      • ►  August (3)
      • ►  July (1)
      • ►  June (3)
      • ►  May (11)
      • ►  April (4)
      • ►  March (3)
      • ►  February (5)
      • ►  January (4)
    • ►  2006 (65)
      • ►  December (3)
      • ►  November (3)
      • ►  October (6)
      • ►  September (12)
      • ►  August (4)
      • ►  July (8)
      • ►  June (10)
      • ►  May (12)
      • ►  March (5)
      • ►  January (2)

    Blogs I'm Reading

    • The Inklings
      Holy Moot - So friends: HOLY MOOT is coming! If you have contributions worth hearing on the interplay of Tolkien and Theology, please be in touch!
      5 months ago
    • Dave
      LJY 100 Pieces White Lace Round Paper Doilies Cake Packaging Pads Wedding Tableware Decoration (12 Inch) - *🔥 Cashback up to 70% LJY 100 Pieces White Lace Round Paper Doilies Cake Packaging Pads Wedding Tableware Decoration (12 Inch) A quick review* *So you c...
      4 years ago
    • Frederica.com - Essays
      The Reason for the "Messianic Secret" - Theologian William Wrede drew attention to this pattern about a hundred years ago, and named it the “Messianic Secret.” It has puzzled bible scholars for...
      4 years ago
    • The Constructive Curmudgeon
      - I have not used this page for about three years. Why not post something now? The New Jerusalem comes down from heaven as God’s gift of cosmic restoration...
      8 years ago
    • The Ornery American
      The American Disease - By Orson Scott Card - July 31, 2014
      9 years ago
    • Carey Cecil
      Why IF? Why you? - The whirlwind was over. It had been a full day. So full we didn't even get a chance to watch the last speaker. Ladies headed home to their families, their ...
      10 years ago
    • David Limbaugh
      Did Jesus Really Exist? - Two articles I read this week vindicate my decision to write my new book, "Jesus on Trial: A Lawyer Affirms the Truth of the Gospel." It's not just Christi...
      10 years ago
    • Dan
      Prayer as a part of preparation - I wish someone would have told me to make prayer more a part of my preparation as I prepared messages every week for our students. Oh sure, I prayed, but o...
      14 years ago
    • up the white road
      This is a good quote from a book I just read. - When I was a sophomore in college, I took a linguistics class. I remember watching this weird video from the '70s about how amazing language is - that you ...
      16 years ago
    • Jen
      MONGOLIA! - Awhile ago I promised I'd post about my upcoming move to Mongolia. Yeah. That didn't happen. But what did happen was a gmail chat with *buffra* last week t...
      16 years ago
    • Ann Coulter's Townhall.com Column
      -
    • Craig Blomberg's Blog: New Testament Musings
      -
  • Search






    • Home
    • Posts RSS
    • Comments RSS
    • Edit

    © Copyright Jon the Canadian. All rights reserved.

    Back to Top