Back up Google Apps Mail using getmail4 + IMAP

Just a quick note on how to configure backups of Google Apps email to a local machine.

Install getmail

apt-get install getmail4

create config directory

Create a subdirectory in users home folder (and change permissions)

mkdir .getmail
touch .getmail

create config file

Create a file such as .getmail/username.gmail

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = username@domain.tld
password = password
mailboxes = ("[Gmail]/All Mail",)

[destination]
type = Maildir
path = /path/to/storage/directory/

[options]
# print messages about each action (verbose = 2)
# Other options:
# 0 prints only warnings and errors
# 1 prints messages about retrieving and deleting messages only
verbose = 1
message_log = ~/.getmail/gmail.log

create data directories for storage

Create 3 sub-directories in your designated data directory

mkdir cur new tmp

run getmail

getmail -r username.gmail

Whilst this is more a ‘note to self’ rather than actual documentation – maybe it’s of use to somebody.

Thanks go to Matt Cutts: http://www.mattcutts.com/blog/backup-gmail-in-linux-with-getmail/ for the start.

My mobile personal learning environment

Taking part in MobiMOOC has given me the opportunity to take stock of my own MobilePLE – the top 5 tools I find most useful as part of my ongoing learning.

 

  • Catch Notes (previously 3Bananas) – mobile note taking the most critical component. Whenever I get a new device – this is what has to be installed as one of the first actions. For those not familiar with this software – it’s like Evernote without the bloat.
  • TwiDroyd – mobile Twitter / Status.Net client. This could be replaced by similar Twitter clients
  • GoogleReader – RSS reader client
  • Flickr – image upload and sharing
  • FourSquare – location based sharing

 

These are the main applications I use pretty much constantly, however here are some other useful services I use regularily:

 

  • Delicious – Online Bookmarking (this is an old one, but a good one). Unfortunately there are not a great deal of mobile interfaces for Delicious as Yahoo has publicly stated that it is trying to offload the project
  • Pixelpipe – universal uploader (upload to multiple services such as Flickr, Picasa, Youtube from mobile)
  • BeyondPod – podcast client
  • GoogleGoggles – image recognition software to allow searches based on camera input
  • Zxing Barcode Scan – open source barcode scanner (QR codes as well as EAN type)
  • WordPress Client – mobile client to edit wordpress blogs
  • Sketchbook – mobile drawing application from Autodesk (you need a reaonable screen for this – tab preferred)
  • UStream Broadcaster – streaming video producer from mobile handset

 

One thing worth noting is that this is very much the “CURRENT Mobi-PLE”. The one sure thing with mobile tech in general is that it tends to change quickly over time and with need.

Looking forward to hearing about things I am missing – comments welcome !