-
Notifications
You must be signed in to change notification settings - Fork 1
/
offlineimaprc
127 lines (112 loc) · 4.15 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
# vim: set ft=conf:
# For Homebrew installation see /usr/local/Cellar/offline-imap/6.5.5/offlineimap.conf
[general]
# Basic Settings
accounts = gmail
maxsyncaccounts = 1
ui = ttyui
#ui = blinkenlights
# Advanced Settings
pythonfile=~/.offlineimap/helpers.py
fsync = False
[Account gmail]
localrepository = gmail-local
remoterepository = gmail-remote
[Account protonmail]
localrepository = protonmail-local
remoterepository = protonmail-remote
[Account siberia]
localrepository = siberia-local
remoterepository = siberia-remote
[Account swiftwork]
localrepository = swiftwork-local
remoterepository = swiftwork-remote
[Account ticketevolution]
localrepository = ticketevolution-local
remoterepository = ticketevolution-remote
[Repository gmail-local]
type = Maildir
localfolders = /Volumes/Mail/gmail.com/bryanjswift
nametrans = lambda folder: gmail_local(folder)
[Repository gmail-remote]
auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
maxconnections = 1
type = Gmail
ssl = yes
sslcacertfile = /Volumes/Mail/ca-bundle.crt
starttls = no
oauth2_access_token_eval = get_access_token("[email protected]")
oauth2_client_id_eval = get_client_id("[email protected]")
oauth2_client_secret_eval = get_client_secret("[email protected]")
oauth2_refresh_token_eval = get_refresh_token("[email protected]")
oauth2_request_url = https://accounts.google.com/o/oauth2/token
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepasseval = get_1password_pass(account="[email protected]", server="imap://imap.gmail.com")
nametrans = lambda folder: gmail_remote(folder)
folderfilter = lambda folder: should_sync_gmail(folder)
[Repository protonmail-local]
type = Maildir
localfolders = /Volumes/Mail/protonmail.com/bryanjswift
nametrans = lambda folder: protonmail_local(folder)
[Repository protonmail-remote]
maxconnections = 1
type = IMAP
ssl = no
sslcacertfile = /Volumes/Mail/ca-bundle.crt
remotehost = 127.0.0.1
remoteport = 1143
remoteuser = [email protected]
remotepasseval = get_1password_pass(account="[email protected]", server="imap://mail.protonmail.com")
nametrans = lambda folder: protonmail_remote(folder)
folderfilter = lambda folder: not is_protonmail_all_folder(folder)
[Repository siberia-local]
type = Maildir
localfolders = /Volumes/Mail/siberia.io/bryan
nametrans = lambda folder: gmail_local(folder)
[Repository siberia-remote]
auth_mechanisms = GSSAPI, CRAM-MD5, PLAIN, LOGIN
maxconnections = 1
type = Gmail
ssl = yes
ssl_version = tls1_2
sslcacertfile = /Volumes/Mail/ca-bundle.crt
starttls = no
oauth2_access_token_eval = get_access_token("[email protected]")
oauth2_client_id_eval = get_client_id("[email protected]")
oauth2_client_secret_eval = get_client_secret("[email protected]")
oauth2_refresh_token_eval = get_refresh_token("[email protected]")
oauth2_request_url = https://accounts.google.com/o/oauth2/token
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepasseval = get_1password_pass(account="[email protected]", server="imap://imap.gmail.com")
nametrans = lambda folder: gmail_remote(folder)
folderfilter = lambda folder: should_sync_siberia(folder)
[Repository swiftwork-local]
type = Maildir
localfolders = /Volumes/Mail/swift-work.com/bswift
nametrans = lambda folder: gmail_local(folder)
[Repository swiftwork-remote]
maxconnections = 1
type = Gmail
ssl = yes
sslcacertfile = /Volumes/Mail/ca-bundle.crt
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepasseval = get_1password_pass(account="[email protected]", server="imap://imap.gmail.com")
nametrans = lambda folder: gmail_remote(folder)
folderfilter = lambda folder: not is_airmail_folder(folder)
[Repository ticketevolution-local]
type = Maildir
localfolders = /Volumes/Mail/ticketevolution.com/bryan
nametrans = lambda folder: gmail_local(folder)
[Repository ticketevolution-remote]
maxconnections = 1
type = Gmail
ssl = yes
sslcacertfile = /Volumes/Mail/ca-bundle.crt
remotehost = imap.gmail.com
remoteuser = [email protected]
remotepasseval = get_1password_pass(account="[email protected]", server="imap://imap.gmail.com")
nametrans = lambda folder: gmail_remote(folder)
folderfilter = lambda folder: not is_airmail_folder(folder)