-
Notifications
You must be signed in to change notification settings - Fork 0
/
offlineimaprc
53 lines (47 loc) · 1.48 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
[general]
accounts = personal, work
pythonfile = ~/.offlineimap/config.py
[Account personal]
localrepository = personal-local
remoterepository = personal-remote
[Repository personal-local]
type = Maildir
localfolders = ~/mail/personal
nametrans = local_folder_to_gmail_folder
[Repository personal-remote]
type = Gmail
holdconnectionopen = yes
keepalive = 60
maxconnections = 3
realdelete = no
remoteuser = breyno127@gmail.com
auth_mechanisms = XOAUTH2
oauth2_client_id = find_password("mail/client_id")
oauth2_client_secret = find_password("mail/client_secret")
oauth2_request_url = https://accounts.google.com/o/oauth2/token
oauth2_refresh_token = find_password("mail/personal")
folderfilter = should_include_folder
nametrans = gmail_folder_to_local_folder
sslcacertfile = /usr/local/etc/openssl/cert.pem
[Account work]
localrepository = work-local
remoterepository = work-remote
[Repository work-local]
type = Maildir
localfolders = ~/mail/work
nametrans = local_folder_to_gmail_folder
[Repository work-remote]
type = Gmail
holdconnectionopen = yes
keepalive = 60
maxconnections = 3
realdelete = no
remoteuser = ben@zaarly.com
auth_mechanisms = XOAUTH2
oauth2_client_id = find_password("mail/client_id")
oauth2_client_secret = find_password("mail/client_secret")
oauth2_request_url = https://accounts.google.com/o/oauth2/token
oauth2_refresh_token = find_password("mail/work")
folderfilter = should_include_folder
nametrans = gmail_folder_to_local_folder
sslcacertfile = /usr/local/etc/openssl/cert.pem