/
offlineimaprc
131 lines (116 loc) · 4.82 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[general]
# NOTE: cronjob calls the quiet UI with -u
ui = TTYUI
# accounts = stmdev, riffm-name, riffm2005
accounts = riffm-stcnet
pythonfile = ~/.mutt/offlineimap.py
fsync = false
[Account stmdev]
localrepository = stmdev-local
remoterepository = stmdev-remote
status_backend = sqlite
postsynchook = notmuch new
[Repository stmdev-local]
type = Maildir
localfolders = ~/Mail/riffm-at-stmdev.ru
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository stmdev-remote]
type = Gmail
remoteuser = riffm@stmdev.ru
remotepasseval = get_keychain_pass(account="riffm@stmdev.ru", server="imap.gmail.com")
realdelete = no
maxconnections = 3
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 not in ['[Gmail]/Trash',
'[Gmail]/Important',
'[Gmail]/Spam',
'[Gmail]/Chats',
]
[Account riffm-name]
localrepository = riffm-name-local
remoterepository = riffm-name-remote
status_backend = sqlite
postsynchook = notmuch new
[Repository riffm-name-local]
type = Maildir
localfolders = ~/Mail/me-at-riffm.name
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository riffm-name-remote]
type = Gmail
remoteuser = me@riffm.name
remotepasseval = get_keychain_pass(account="me@riffm.name", server="imap.gmail.com")
realdelete = no
maxconnections = 3
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 not in ['[Gmail]/Trash',
'[Gmail]/Important',
'[Gmail]/Spam',
'[Gmail]/Chats',
]
[Account riffm2005]
localrepository = riffm2005-local
remoterepository = riffm2005-remote
status_backend = sqlite
postsynchook = notmuch new
[Repository riffm2005-local]
type = Maildir
localfolders = ~/Mail/riffm2005-at-gmail.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 riffm2005-remote]
type = Gmail
remoteuser = riffm2005@gmail.com
remotepasseval = get_keychain_pass(account="riffm2005@gmail.com", server="imap.gmail.com")
realdelete = no
maxconnections = 3
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 not in ['[Gmail]/Trash',
'[Gmail]/Important',
'[Gmail]/Spam',
'[Gmail]/Chats',
]
[Account riffm-stcnet]
localrepository = riffm-stcnet-local
remoterepository = riffm-stcnet-remote
status_backend = sqlite
postsynchook = notmuch new
[Repository riffm-stcnet-local]
type = Maildir
localfolders = ~/Mail/riffm-at-rnd.stcnet.ru
[Repository riffm-stcnet-remote]
type = IMAP
ssl = yes
cert_fingerprint = 6c250dac58d73bcb8699b8d61256a1b3ad03f4fe
remotehost = mail.rnd.stcnet.ru
remoteuser = riffm@rnd.stcnet.ru
remotepasseval = get_keychain_pass(account="riffm@rnd.stcnet.ru", server="mail.rnd.stcnet.ru")
#vim: ft=cfg tw=0