summaryrefslogtreecommitdiffstats
path: root/config/offlineimap/config
blob: fc8e496cc2f5a8ce678a4393af00c5f4f1014d99 (plain) (blame)
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
[general]
accounts = main
maxsyncaccounts = 3
status_backend = sqlite
pythonfile = ~/.config/offlineimap/pass.py
ui = basic
socktimeout = 120

[Account main]
localrepository = main-local
remoterepository = main-remote
autorefresh = 5
quick = 10
postsynchook = notmuch new

[Repository main-local]
type = Maildir
localfolders = ~/Maildir

[Repository main-remote]
type = IMAP
ssl = yes
sslcacertfile = /etc/ssl/certs/ca-certificates.crt
remotehost = mail.tozt.net
remoteuser = doy
remotepasseval = get_password("mail/mail.tozt.net/doy")
maxconnections = 5
keepalive = 60
holdconnectionopen = yes
idlefolders = ['INBOX']
folderfilter = lambda foldername: foldername not in ['notmuch'] and not re.search('^old(\.|$)', foldername)
subscribedonly = no

# vim:ft=dosini: