forked from baohaojun/system-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.offlineimaprc-CYGWIN
executable file
·47 lines (40 loc) · 1.37 KB
/
.offlineimaprc-CYGWIN
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 = Marvell, Gmail
maxsyncaccounts = 2
pythonfile = ~/system-config/bin/get-credentials.py
ui = Noninteractive.Basic
[Account Marvell]
localrepository = Local-Mrvl
remoterepository = Remote-Mrvl
maildir-windows-compatible = yes
presynchook = ~/system-config/bin/sync_nnmaildir -g
postsynchook = ~/system-config/bin/sync_nnmaildir -m
[Repository Remote-Mrvl]
type = IMAP
remotehost = localhost
remoteport = 1143
remoteuser = [email protected]
remotepasseval = getcred("localhost", "[email protected]", 1143)
nametrans = lambda foldername: "mrvl." + foldername.replace(" ", "_")
maxconnections = 6
folderfilter = lambda foldername: any([x.lower() in foldername.lower() for x in ('inbox', 'sent')])
[Repository Local-Mrvl]
type = Maildir
localfolders = ~/Maildir
[Account Gmail]
localrepository = Local-Gmail
remoterepository = Remote-Gmail
maildir-windows-compatible = yes
maxsize = 500000
presynchook = ~/system-config/bin/sync_nnmaildir -g
postsynchook = ~/system-config/bin/sync_nnmaildir -m
[Repository Local-Gmail]
type = Maildir
localfolders = ~/Maildir
[Repository Remote-Gmail]
type = Gmail
remoteuser = [email protected]
remotepasseval = getcred("gmail", "[email protected]", 993)
nametrans = lambda foldername: "gmail." + foldername.replace(" ", "_")
maxconnections = 6
folderfilter = lambda foldername: any([x.lower() in foldername.lower() for x in ('inbox',)])