-
Notifications
You must be signed in to change notification settings - Fork 0
/
offlineimaprc
44 lines (38 loc) · 1.16 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
[general]
accounts = MyServer, Riseup
[Account MyServer]
localrepository = MyServerLocal
remoterepository = MyServerRemote
postsynchook = notmuch new
[Repository MyServerLocal]
type = Maildir
localfolders = <mail folder> # e.g. ~/Mail/MyServer
[Repository MyServerRemote]
type = IMAP
remotehost = <MyServer domain name>
remoteport = <MyServer IMAP port>
remoteuser = <user>
remotepass = <pass>
ssl = yes
# Only sync the folders below:
folderfilter = lambda folder: folder in ['INBOX',
'Sent',
'Drafts',
'Queue',
'Thrash',
'hackers-mailing-list']
[Account Riseup]
localrepository = RiseupLocal
remoterepository = RiseupRemote
proxy = SOCKS5:localhost:9050 # the default Tor port
[Repository RiseupLocal]
type = Maildir
localfolders = <mail folder> # e.g. ~/Mail/Riseup
[Repository RiseupRemote]
type = IMAP
remotehost = zsolxunfmbfuq7wf.onion # imap.riseup.net's onion address
remoteport = 993
remoteuser = <user>
remotepass = <pass>
ssl = yes
# Sync all folders on the IMAP server