-
Notifications
You must be signed in to change notification settings - Fork 2
/
.offlineimaprc
64 lines (57 loc) · 2.11 KB
/
.offlineimaprc
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[general]
ui = TTY.TTYUI
accounts = Personal, Pebble
pythonfile=~/.offlineimap.py
fsync = False
[Account Personal]
localrepository = Personal-Local
remoterepository = Personal-Remote
status_backend = sqlite
autorefresh = 5
quick = 10
#postsynchook = notmuch new
[Repository Personal-Local]
type = Maildir
localfolders = ~/Mail/Personal
[Repository Personal-Remote]
type = Gmail
keepalive = 60
holdconnectionopen = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remoteuser = lance@lrvick.net
remotepasseval = subprocess.check_output(["pass", "Personal/gmail"]).strip()
nametrans = lambda folder: { '[Gmail]/All Mail': 'all',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Chats': 'chats',
'[Gmail]/Spam': 'spam',
}.get(folder, folder)
folderfilter = lambda foldername: foldername in [ '[Gmail]/All Mail',
'[Gmail]/Sent Mail',
'[Gmail]/Chats',
'[Gmail]/Spam' ]
[Account Pebble]
localrepository = Pebble-Local
remoterepository = Pebble-Remote
status_backend = sqlite
autorefresh = 5
quick = 10
#postsynchook = notmuch new
[Repository Pebble-Local]
type = Maildir
localfolders = ~/Mail/Pebble
[Repository Pebble-Remote]
type = Gmail
keepalive = 60
holdconnectionopen = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remoteuser = lance@pulse-dev.net
remotepasseval = subprocess.check_output(["pass", "Pebble/gmail"]).strip()
nametrans = lambda folder: { '[Gmail]/All Mail': 'all',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Chats': 'chats',
'[Gmail]/Spam': 'spam',
}.get(folder, folder)
folderfilter = lambda foldername: foldername in [ '[Gmail]/All Mail',
'[Gmail]/Sent Mail',
'[Gmail]/Chats',
'[Gmail]/Spam' ]