-
Notifications
You must be signed in to change notification settings - Fork 1
/
.offlineimaprc
54 lines (46 loc) · 1.49 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 = gmail, work
ui = ttyui
# ui = Noninteractive.Quiet
#
# 如果啟用此行,則不會輸出任何東西。最適宜cronjobs 在幕後運行了。
socketimeout = 3
[Account gmail]
localrepository = gmailLocal
remoterepository = gmailRemote
autorefresh = 5
[Account work]
localrepository = workLocal
remoterepository = workRemote
autorefresh = 5
[Repository gmailLocal]
type = Maildir
localfolders = ~/.mail/gmail
[Repository gmailRemote]
type = Gmail
remotehost = imap.gmail.com
ssl = yes
remoteport = 993
remoteuser = [email protected]
#cert_fingerprint=89091347184d41768bfc0da9fad94bfe882dd358
#in OSX:
#we use sslcacertfile = /usr/local/etc/openssl/cert.pem
#remember to install openssl using homebrew first
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remotepassfile = ~/.mail/passwd
nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
folderfilter = lambda foldername: foldername in ['INBOX','[Gmail]/Drafts','linux/arch','linux/shlug','xdlinux','linux/xiyou','Social','python','admaster']
[Repository workLocal]
type = Maildir
localfolders = ~/.mail/work
[Repository workRemote]
type = IMAP
remotehost = imap.exmail.qq.com
ssl = yes
remoteport = 993
remoteuser = [email protected]
#cert_fingerprint=1ce76609d8ad0014f713ff48a504ccae1c73476c
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remotepassfile = ~/.mail/passwd_work
nametrans = lambda foldername: re.sub (' ', '_', foldername.lower())
folderfilter = lambda foldername: foldername in ['INBOX']