-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.offlineimaprc
41 lines (35 loc) · 931 Bytes
/
.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
[general]
accounts = Gmail, Work
maxsyncaccounts = 4
socktimeout = 60
pythonfile = ~/.offlineimap.py
[Account Gmail]
localrepository = LocalGmail
remoterepository = RemoteGmail
[Account Work]
localrepository = LocalWork
remoterepository = RemoteWork
[Repository LocalGmail]
type = Maildir
localfolders = ~/Maildir/Gmail
[Repository LocalWork]
type = Maildir
localfolders = ~/Maildir/Work
[Repository RemoteGmail]
type = IMAP
remotehost = imap.gmail.com
remoteuser = mygmail-address
remotepasseval = get_password_emacs("imap.gmail.com", "993")
ssl = yes
maxconnections = 1
realdelete = no
# configuration of asynchronized maildir
folderfilter = lambda foldername: foldername not in ["[Gmail]/Spam", "[Gmail]/Important"]
[Repository RemoteWork]
type = IMAP
remotehost = mywork-imap-server
remoteuser = mywork-user
remotepasseval = get_password_emacs("mywork-imap-server", "secret")
ssl = yes
maxconnections = 1
realdelete = no