Skip to content

Instantly share code, notes, and snippets.

@zoni
Created October 16, 2012 09:25
Show Gist options
  • Select an option

  • Save zoni/3898279 to your computer and use it in GitHub Desktop.

Select an option

Save zoni/3898279 to your computer and use it in GitHub Desktop.
offlineimap template to backup GMail
[general]
accounts = Gmail
maxsyncaccounts = 3
[Account Gmail]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = /path/to/maildir/
[Repository Remote]
type = IMAP
remotehost = imap.gmail.com
remoteuser = user@domain.tld
remotepass = secret
ssl = yes
maxconnections = 5
realdelete = no
cert_fingerprint = 6d1b5b5ee0180ab493b71d3b94534b5ab937d042
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment