]> git.rmz.io Git - dotfiles.git/blob - offlineimap/config
offlineimap: don't try XOAUTH2 mechanism
[dotfiles.git] / offlineimap / config
1 [general]
2 metadata = $XDG_DATA_HOME/offlineimap
3 accounts = gmail
4 maxsyncaccounts = 1
5 #ui = basic
6 #ignore-readonly = no
7 pythonfile = $XDG_CONFIG_HOME/offlineimap/utils.py
8 socktimeout = 120
9 fsync = false
10
11 [mbnames]
12 enabled = yes
13 filename = ~/.mutt/mailboxes
14 header = "mailboxes "
15 peritem = "+%(accountname)s/%(foldername)s"
16 sep = " "
17 footer = "\n"
18 # sort_keyfunc = lambda d: (d['accountname'], d['foldername'])
19 sort_keyfunc = sort_key
20
21 [Account gmail]
22 localrepository = gmail-local
23 remoterepository = gmail-remote
24 autorefresh = 10
25 quick = -1
26 # presynchook = imapfilter
27 # postsynchook = notifysync.sh
28 # presynchook = imapfilter -c someotherconfig.lua
29 status_backend = sqlite
30 # maxsize = 2000000
31 # maxage = 10
32 #maildir-windows-compatible = no
33 synclabels = yes
34 labelsheader = X-Label
35 filterheaders = X-Label
36 #ignorelabels = \Inbox, \Starred, \Sent, \Draft, \Spam, \Trash, \Important
37 ignorelabels = \Draft, \Important
38
39 [Repository gmail-local]
40 type = GmailMaildir
41 localfolders = ~/mail/gmail
42 #sep = .
43 #restoreatime = no
44 nametrans = translocal
45
46 [Repository gmail-remote]
47 type = Gmail
48 remoteuser = samir.benmendil@gmail.com
49 nametrans = transremote
50 # folderfilter = lambda foldername: foldername in ['[Google Mail]/All Mail', '[Google Mail]/Drafts', '[Google Mail]/Bin']
51 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
52 trashfolder = '[Google Mail]/Bin'
53 spamfolder = '[Google Mail]/Spam'
54 usecompression = yes
55 maxconnections = 3
56 holdconnectionopen = yes
57 keepalive = 60
58 auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
59 # readonly = True