/
.offlineimaprc
86 lines (74 loc) · 3.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
# ================================================================================================================================
#
# OFFLINEIMAP
#
# Update: 2023.01.11
#
# ================================================================================================================================
# ================================================================================================================================
# GENERAL - Settings
# ================================================================================================================================
# ================================================================================================================================
[general]
accounts = bteb,live
maxsyncaccounts = 3
# pythonfile = ~/.config/neomutt/offlineimap.py
# ================================================================================================================================
[Account bteb]
localrepository = bteb-local
remoterepository = bteb-remote
autorefresh = 0.2
quick = 10
utf8foldernames = yes
maxage = 10
postsynchook = offlineimap-notify
[Repository bteb-local]
type = Maildir
localfolders = ~/mail/bteb
sync_deletes = no
[Repository bteb-remote]
type = IMAP
remoteport = 143
remotehost = imap.mxhichina.com
remoteuser = hantao@bteb.cn
remotepassfile = ~/.config/neomutt/alimail.pass
#remotepasseval = keyring.get_password("bteb", "hantao@bteb.cn")
maxconnections = 2
ssl = no
starttls = yes
#ssl_version = tls1_3
keepalive = 60
holdconnectionopen = no
readonly = False
expunge = yes
# ================================================================================================================================
[Account live]
localrepository = live-local
remoterepository = live-remote
autorefresh = 0.2
quick = 10
utf8foldernames = yes
maxage = 10
postsynchook = offlineimap-notify
# postsynchook = ~/.config/offlineimap/notify.sh
[Repository live-local]
type = Maildir
localfolders = ~/mail/live
sync_deletes = no
[Repository live-remote]
type = IMAP
#remoteport = 993
remotehost = outlook.office365.com
remoteuser = hantaotaohan@hotmail.com
remotepassfile = ~/.config/neomutt/hotmail.pass
#remotepasseval = keyring.get_password("hotmail", "hantaotaohan@hotmail.com")
maxconnections = 2
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
ssl = yes
starttls = yes
#ssl_version = tls1_3
keepalive = 60
holdconnectionopen = no
readonly = False
expunge = yes
# vim:ts=4:shiftwidth=4:syntax=toml