# Sample minimal config file. Copy this to ~/.offlineimaprc and edit to # get started fast. [general] accounts = gmail,andthensome maxsyncaccounts = 1 [Account gmail] localrepository = gmail-local remoterepository = gmail-remote autorefresh = 0.5 quick = 10 [Repository gmail-local] type = Maildir localfolders = ~/mail/gmail [Repository gmail-remote] type = Gmail remoteuser = alrayyes@gmail.com remotepass = ubfsohoybafijmpg sslcacertfile = /etc/ssl/certs/ca-certificates.crt nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak', re.sub ('sent_mail', 'sent', re.sub ('starred', 'flagged', re.sub (' ', '_', foldername.lower())))) folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail'] keepalive = 60 holdconnectionopen = yes createfolders = False [Account andthensome] localrepository = andthensome-local remoterepository = andthensome-remote autorefresh = 0.5 quick = 10 [Repository andthensome-local] type = Maildir localfolders = ~/mail/andthensome [Repository andthensome-remote] type = Gmail remoteuser = ryan@andthensome.nl remotepass = zaglfcekciupfsqe sslcacertfile = /etc/ssl/certs/ca-certificates.crt nametrans = lambda foldername: re.sub ('^\[gmail\]', 'bak', re.sub ('sent_mail', 'sent', re.sub ('starred', 'flagged', re.sub (' ', '_', foldername.lower())))) folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail'] keepalive = 60 holdconnectionopen = yes createfolders = False # Mutt support [mbnames] enabled = yes filename = ~/.mutt/mailboxes header = "mailboxes " peritem = "+%(accountname)s/%(foldername)s" sep = " " footer = "\n"