As mentioned in my last post, it is not too easy to migrate from a normal Gmail account to a Google Apps account. Lots of tools do not bring satisfying results. The only tool that brought the best results was imapsync. Being a command-line tool, it is not easy to use for most. Hence, I want to ease the usage by providing this step by step tutorial. It is tailored for Mac OS X users. However, there is a very straightforward guide for Windows as well. In fact, my short tutorial is based on that one :)
Step 1: Download & Installation
perl -mMail::IMAPClient -mDigest::MD5 -mTerm::ReadKey -mIO::Socket::SSL -mDate::Manip -mFile::Spec -mDigest::HMAC_MD5 -e '' Step 2: Sync your Email
./imapsync ^
--host1 imap.gmail.com --port1 993 --ssl1 --authmech1 LOGIN ^
--user1 user@gmail.com --password1 password4gmail ^
--host2 imap.gmail.com --port1 993 --ssl2 --authmech2 LOGIN ^
--user2 user@yourdomain.com --password2 password4user2 ^
--split1 100 --split2 100 ^
--reconnectretry1 30 --reconnectretry2 30 ^
--noauthmd5 --noreleasecheck ^
--timeout 1200 --allowsizemismatch
I hope this helps. And I hope that Google will provide a much easier and acceptable solution in the future.
After being unhappy with Gmail’s handling of my custom email address (email@mydomain.tld) for quite some time, I came across my colleague’s newly written blog article about transitioning from a normal Google account (@gmail.com) to a Google Apps account (@mydomain.tld). A few conversations later I was confident and excited enough to migrate my mails from Gmail to Google Apps. However, it was unfortunately much more cumbersome than I expected. But I succeeded at the end.
The main issue was to get all my emails into the new account. The loss of mails was unacceptable for me but all the most obvious methods lost some mails during the process or were otherwise unsuitable:
I hope this gives a good overview on the tools available to transition your emails from one IMAP account to another.
Happy migrating!
Today, I started to work again with the fast and small but powerful PHP framework Kohana. I used Kohana 1 on a Linux machine years ago but now it’s Kohana 3.1 on Mac OS X 10.6 (Snow Leopard). Anyway, shortly after the successful “installation” I wanted to get rid of the mentioning of index.php in the URL. I knew about .htaccess and mod_rewrite from my previous Kohana projects. This time the framework even came with a predefined .htaccess file. However, I didn’t get it to work and only got 404 Not Found messages when I activated the .htaccess file.
After some research I figured out that I had to change the None of AllowOverride in /etc/apache2/users/<USER_NAME>.conf to All. That got me from 404 Not Found messages to 403 Forbidden messages. After some more research and trail and error, I found out that the trick was to append FollowSymLinks to the Options in the above mentioned conf file.