-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.offlineimaprc
47 lines (41 loc) · 1.2 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
[general]
accounts = Gmail, Work
maxsyncaccounts = 2
pythonfile = ~/.offlineimap.py
[Account Gmail]
localrepository = LocalGmail
remoterepository = RemoteGmail
[Account Work]
localrepository = LocalWork
remoterepository = RemoteWork
[Repository LocalGmail]
type = Maildir
localfolders = ~/Maildir/private
[Repository LocalWork]
type = Maildir
localfolders = ~/Maildir/work
[Repository RemoteGmail]
# Set auth mechanism to avoid problem described in
# https://github.com/OfflineIMAP/offlineimap/issues/285
auth_mechanisms = LOGIN
type = Gmail
remoteuser = peter.w.v.jorgensen@gmail.com
remotepasseval = get_password("imap.gmail.com", "peter.w.v.jorgensen@gmail.com", "993")
realdelete = yes
maxconnections=3
holdconnectionopen = true
keepalive = 60
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository RemoteWork]
type = IMAP
remoteport = 993
ssl = yes
remotehost = imap.au.dk
remoteuser = uni\au219464
remotepasseval = get_password("imap.au.dk", "uni\\\\au219464", "993")
realdelete = yes
maxconnections=3
folderfilter = lambda folder: not re.search('(^Suggested Contacts$|^Deleted Items$|^Contacts$|Calendar)', folder)
holdconnectionopen = true
keepalive = 60
sslcacertfile = /etc/ssl/certs/ca-certificates.crt