Backing up your GMail account
As a computer scientist I never keep backups of my emails because Google takes care of them :) Recently, I read news about mass-email losses at gmail so I thought it would be a good idea to spend some gigabytes of my backup drives for my valuable emails. The tool of my choice was getmail and luckily I found a lot of postings where users reported that they had successfully retrieved all their mails. Like always when you try something yourself, it doesn't work out. I got an error that the selected mailbox wasn't found on the server. After installing Thunderbird and accessing the GMail account (via IMAP) I found out, that in my case the mailbox name is [Gmail]/Alle Nachrichten instead of [Gmail]/All Mail. I tend do switch languages on webpages with logins so I was surprised because I had spanish as selected language. Maybe these directories are created only once? I'll never know but if you run into the same problem, try to access the GMail account via IMAP and note the directory name for "All Mail / Alle Nachrichten".
Code snippet that fails on my account:
This is my actual config file (located in ~/.getmail/)
Last Updated (Thursday, 17 March 2011 23:25)


