2 metadata = $XDG_DATA_HOME/offlineimap
 
   7 pythonfile = $XDG_CONFIG_HOME/offlineimap/utils.py
 
  13 filename = $my_config_dir/mailboxes
 
  15 peritem = "+%(accountname)s/%(foldername)s"
 
  18 # sort_keyfunc = lambda d: (d['accountname'], d['foldername'])
 
  19 sort_keyfunc = sort_key
 
  22 localrepository = gmail-local
 
  23 remoterepository = gmail-remote
 
  26 # presynchook = imapfilter
 
  27 # postsynchook = notifysync.sh
 
  28 # presynchook = imapfilter -c someotherconfig.lua
 
  29 status_backend = sqlite
 
  32 #maildir-windows-compatible = no
 
  34 labelsheader = X-Label
 
  35 filterheaders = X-Label
 
  36 #ignorelabels = \Inbox, \Starred, \Sent, \Draft, \Spam, \Trash, \Important
 
  37 ignorelabels = \Draft, \Important
 
  39 [Repository gmail-local]
 
  41 localfolders = $MAILDIR/gmail
 
  42 utime_from_headers = yes  # not sure if this is compatible with `quick = -1`
 
  43 filename_use_mail_timestamp = yes
 
  46 nametrans = translocal
 
  48 [Repository gmail-remote]
 
  50 remoteuser = samir.benmendil@gmail.com
 
  51 nametrans = transremote
 
  52 # folderfilter = lambda foldername: foldername in ['[Google Mail]/All Mail', '[Google Mail]/Drafts', '[Google Mail]/Bin']
 
  53 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
 
  54 trashfolder = '[Google Mail]/Bin'
 
  55 spamfolder = '[Google Mail]/Spam'
 
  58 holdconnectionopen = yes
 
  60 auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN