# Copy this to ~/.offlineimaprc and edit
[general]
accounts = Gmail
[Account Gmail]
localrepository = GmailBox
remoterepository = GmailProxy
[Repository GmailBox]
type = Maildir
localfolders = ~/Gmail
[Repository GmailProxy]
type = IMAP
remotehost = localhost
remoteport = 10143 # from LOCALPORT in gmail-imap-label
remoteuser = user@gmail.com