Skip to content

Instantly share code, notes, and snippets.

@derekschrock
Created September 22, 2017 18:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save derekschrock/cf248d9c21124ad327dfcd2560912f60 to your computer and use it in GitHub Desktop.
# Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
# get started fast.
[general]
accounts = LOADM
pythonfile = ~/.offlineimap.py
[Account LOADM]
localrepository = Local
remoterepository = Remote
autorefresh = 10
[Repository Local]
type = Maildir
localfolders = ~/mail-offline/
[Repository Remote]
type = Gmail
ssl = yes
sslcacertfile = /usr/local/share/certs/ca-root-nss.crt
remotehost = imap.gmail.com
remoteuser = dereks@lifeofadishwasher.com
idlefolders = ['INBOX']
remotepasseval = get_pass()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment