add mutt-multi-account-setup
[dotfiles.git] / email / .config / offlineimap / config
1 [general]
2 metadata = ~/.local/share/offlineimap
3 accounts = net,ru
4 ui = blinkenlights
5 pythonfile = ~/.config/offlineimap/offlineimap.py
6
7 [mbnames]
8 enabled = yes
9 filename = ~/.local/share/offlineimap/mailboxes
10 header = "mailboxes "
11 peritem = "~/.local/share/offlineimap/mail/%(accountname)s/%(foldername)s/"
12 sep = " "
13 footer = "\n"
14 incremental = yes
15
16 [Account net]
17 localrepository = netLocal
18 remoterepository = netRemote
19 autorefresh = 6
20 quick = 10
21 postsynchook = newmail.sh
22
23 [Account ru]
24 localrepository = ruLocal
25 remoterepository = ruRemote
26 autorefresh = 6
27 quick = 10
28 postsynchook = newmail.sh
29
30 [Repository netLocal]
31 type = Maildir
32 localfolders = ~/.local/share/offlineimap/mail/net
33
34 [Repository ruLocal]
35 type = Maildir
36 localfolders = ~/.local/share/offlineimap/mail/ru
37
38 [Repository netRemote]
39 type = IMAP
40 folderfilter = lambda x: folderfilter(x)
41 remotepasseval = mailpasswdnet()
42 remotehost = lubbers.email
43 remoteuser = mart@martlubbers.net
44 ssl = yes
45 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
46 keepalive = 60
47 holdconnectionopen = yes
48 idlefolders = ['INBOX']
49
50 [Repository ruRemote]
51 type = IMAP
52 remotepasseval = mailpasswdru()
53 remotehost = post.science.ru.nl
54 remoteuser = mlubbers
55 ssl = yes
56 sslcacertfile = /etc/ssl/certs/ca-certificates.crt
57 keepalive = 60
58 holdconnectionopen = yes
59 idlefolders = ['INBOX']