forked from syl20bnr/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.offlineimaprc
34 lines (30 loc) · 1.12 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
[general]
accounts = [email protected]
maxsyncaccounts = 3
[Account [email protected]]
localrepository = [email protected]
remoterepository = [email protected]
[Repository [email protected]]
type = Maildir
localfolders = ~/Maildir
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
'sent': '[Gmail]/Sent Mail',
'flagged': '[Gmail]/Starred',
'trash': '[Gmail]/Trash',
'archive': '[Gmail]/All Mail',
}.get(folder, folder)
[Repository [email protected]]
type = IMAP
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepass = password
ssl = yes
maxconnections = 1
realdelete = no
cert_fingerprint=fingerprint
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
'[Gmail]/Sent Mail': 'sent',
'[Gmail]/Starred': 'flagged',
'[Gmail]/Trash': 'trash',
'[Gmail]/All Mail': 'archive',
}.get(folder, folder)