]> git.madduck.net Git - etc/offlineimap.git/blob - .offlineimaprc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

explicitly specify imap_command
[etc/offlineimap.git] / .offlineimaprc
1 [general]
2 metadata = ~/.var/offlineimap
3 accounts = madduck.net
4 ui = Basic
5 ignore-readonly = no
6 pythonfile = ~/.offlineimap/helper.py
7 fsync = no
8 #maxsyncaccounts = 2
9
10 [mbnames]
11 enabled = yes
12 filename = ~/.var/offlineimap/mailboxes
13 header = '# generated by offlineimap\n'
14 peritem = mailboxes =%(foldername)s
15 sep = '\n'
16 footer = '\n'
17 folderfilter = py_folderfilter_mbnames
18
19 [Account madduck.net]
20 localrepository = local-main
21 remoterepository = madduck.net
22 autorefresh = 15
23 quick = 16
24 postsynchook = ! command -v notmuch >/dev/null || ionice -c3 nice -20 notmuch new
25
26 [Account madduck.net_bulk]
27 localrepository = local-main
28 remoterepository = madduck.net_bulk
29 autorefresh = 360
30 quick = 16
31 #postsynchook = ionice -c3 nice -20 notmuch new
32
33 [Repository local-main]
34 type = Maildir
35 localfolders = ~/mail
36 sep = /
37
38 [Repository madduck.net]
39 type = IMAP
40 maxconnections = 5
41 holdconnectionopen = yes
42 ssh_host = madduck-net.imap.madduck.net
43 imap_command = MAIL=$HOME/.maildir /usr/lib/dovecot/imap 2>/dev/null
44 preauthtunnel = exec ~/.offlineimap/preauthtunnel.sh %(ssh_host)s %(imap_command)s
45 expunge = yes
46 foldersort = py_foldersort_main
47 nametrans = py_nametrans
48 folderfilter = py_folderfilter_main
49
50 [Repository madduck.net_bulk]
51 type = IMAP
52 maxconnections = 1
53 holdconnectionopen = no
54 ssh_host = madduck-net.imap.madduck.net
55 imap_command = MAIL=$HOME/.maildir /usr/lib/dovecot/imap 2>/dev/null
56 preauthtunnel = exec ~/.offlineimap/preauthtunnel.sh %(ssh_host)s %(imap_command)s
57 expunge = yes
58 folderfilter = py_folderfilter_bulk
59 foldersort = py_foldersort_main