summaryrefslogtreecommitdiffstats
path: root/offlineimap/.offlineimaprc
blob: 0a057bb0c87b30175ef8e9beb55d28307a4fc18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[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