]> 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:

conditionally call notmuch after sync
[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 status_backend = sqlite
25 postsynchook = ! command -v notmuch >/dev/null || ionice -c3 nice -20 notmuch new
26
27 [Account madduck.net_bulk]
28 localrepository = local-main
29 remoterepository = madduck.net_bulk
30 autorefresh = 15
31 quick = 16
32 status_backend = sqlite
33 #postsynchook = ionice -c3 nice -20 notmuch new
34
35 [Repository local-main]
36 type = Maildir
37 localfolders = ~/mail
38 sep = /
39
40 [Repository madduck.net]
41 type = IMAP
42 maxconnections = 5
43 holdconnectionopen = yes
44 preauthtunnel = SSH_AUTH_SOCK= ssh -TCaxS ~/.var/offlineimap/ssh_ctl_sock -o "ControlMaster auto" -o "ProtocolKeepAlives 10" -o "ConnectTimeout 60" -o "IPQoS af12" -i ~/.offlineimap/id_rsa.imap@seamus imap.madduck.net
45 expunge = yes
46 foldersort = py_foldersort_main
47 nametrans = py_nametrans
48 folderfilter = py_folderfilter_main
49 idlefolders = ['inbox', 'ardex', 'immo', 'admin', 'debian']
50
51 [Repository madduck.net_bulk]
52 type = IMAP
53 maxconnections = 1
54 holdconnectionopen = yes
55 preauthtunnel = SSH_AUTH_SOCK= ssh -TCaxS ~/.var/offlineimap/ssh_ctl_sock -o "ControlMaster auto" -o "ProtocolKeepAlives 10" -o "ConnectTimeout 60" -i ~/.offlineimap/id_rsa.imap@seamus imap.madduck.net
56 expunge = yes
57 folderfilter = py_folderfilter_bulk
58 foldersort = py_foldersort_main