[general] metadata = ~/.offlineimap accounts = Gmail maxsyncaccounts = 3 ui = ttyui socktimeout = 60 fsync = false pythonfile = ~/.offlineimap.py [mbnames] #enabled = yes #filename = ~/.mutt/mailboxes #header = "mailboxes " #peritem = "+%(accountname)s/%(foldername)s" #sep = " " #footer = "\n" [Account Gmail] localrepository = LocalGmail remoterepository = RemoteGmail autorefresh = 5 quick = 3 postsynchook = notmuch new status_backend = sqlite synclabels = yes labelsheader = X-Keywords [Repository LocalGmail] type = GmailMaildir localfolders = /media/data/mail/Gmail [Repository RemoteGmail] type = Gmail remoteuser = thibaut.horel@gmail.com remotepasseval = get_pass("email/gmail") maxconnections = 3 sslcacertfile = /etc/ssl/certs/ca-certificates.crt folderfilter = lambda folder: folder not in ['[Gmail]/All Mail'] idlefolders = ['INBOX', 'famille', '[Gmail]/Sent Mail'] auth_mechanisms = LOGIN