-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.offlineimaprc
77 lines (71 loc) · 3.05 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
65
66
67
68
69
70
71
72
73
74
75
76
77
[general]
ui = blinkenlights
accounts = Work,Personal
pythonfile=~/.offlineimap/offlineimap.py
fsync = False
[Account Work]
localrepository = Work-Local
remoterepository = Work-Remote
status_backend = sqlite
postsynchook = notmuch new
maxage = 30
[Repository Work-Local]
type = Maildir
localfolders = ~/.mail/socrata.com
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository Work-Remote]
maxconnections = 4
type = Gmail
remoteuser = [email protected]
remotepasseval = get_keychain_pass(account="[email protected]", server="imap.gmail.com")
sslcacertfile = /usr/local/lib/node_modules/npm/node_modules/node-gyp/test/fixtures/ca-bundle.crt
realdelete = no
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Starred': 'flagged',
'[Gmail]/Trash': 'trash',
'[Gmail]/All Mail': 'archive',
}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX',
'[Gmail]/Drafts',
'[Gmail]/Sent Mail',
'[Gmail]/Starred',
'[Gmail]/All Mail' ]
[Account Personal]
localrepository = Personal-Local
remoterepository = Personal-Remote
status_backend = sqlite
postsynchook = notmuch new
maxage = 14
[Repository Personal-Local]
type = Maildir
localfolders = ~/.mail/chrismetcalf.net
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository Personal-Remote]
maxconnections = 4
type = Gmail
remoteuser = [email protected]
remotepasseval = get_keychain_pass(account="[email protected]", server="imap.gmail.com")
sslcacertfile = /usr/local/lib/node_modules/npm/node_modules/node-gyp/test/fixtures/ca-bundle.crt
realdelete = no
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Starred': 'flagged',
'[Gmail]/Trash': 'trash',
'[Gmail]/All Mail': 'archive',
}.get(folder, folder)
folderfilter = lambda folder: folder in ['INBOX',
'[Gmail]/Drafts',
'[Gmail]/Sent Mail',
'[Gmail]/Starred',
'[Gmail]/All Mail' ]