[general] #metadata = ~/.offlineimap accounts = gmail maxsyncaccounts = 1 #ui = basic #ignore-readonly = no pythonfile = ~/bin/offlineimap_utils.py socktimeout = 120 fsync = false [mbnames] enabled = yes filename = ~/.mutt/mailboxes header = "mailboxes " peritem = "+%(accountname)s/%(foldername)s" sep = " " footer = "\n" # sort_keyfunc = lambda d: (d['accountname'], d['foldername']) sort_keyfunc = sort_key [Account gmail] localrepository = gmail-local remoterepository = gmail-remote #autorefresh = 1 quick = 10 # presynchook = imapfilter # postsynchook = notifysync.sh # presynchook = imapfilter -c someotherconfig.lua status_backend = sqlite # maxsize = 2000000 # maxage = #maildir-windows-compatible = no [Repository gmail-local] type = Maildir localfolders = ~/mail/gmail #sep = . #restoreatime = no nametrans = translocal [Repository gmail-remote] type = Gmail remoteuser = samir.benmendil@gmail.com nametrans = transremote #folderfilter = lambda foldername: foldername not in '[Google Mail]/All Mail' sslcacertfile = /etc/ssl/certs/ca-certificates.crt trashfolder = '[Google Mail]/Bin' spamfolder = '[Google Mail]/Spam' maxconnections = 3 holdconnectionopen = yes keepalive = 60 #readonly = False