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

add bulk account, remove full run logic
[etc/offlineimap.git] / .offlineimaprc
1 [general]
2 metadata = ~/.var/offlineimap
3 accounts = madduck.net
4 ui = Noninteractive.Basic, Noninteractive.Quiet
5 ignore-readonly = no
6 socktimeout = 30
7 pythonfile = ~/.offlineimap/helper.py
8 fsync = no
9 #maxsyncaccounts = 2
10
11 [mbnames]
12 enabled = yes
13 filename = ~/.var/offlineimap/mailboxes
14 header = '# generated by offlineimap\n'
15 peritem = mailboxes =%(foldername)s
16 sep = '\n'
17 footer = '\n'
18 folderfilter = py_folderfilter_mbnames
19
20 [Account madduck.net]
21 localrepository = local-main
22 remoterepository = madduck.net
23 autorefresh = 15
24 quick = 16
25
26 [Account madduck.net-bulk]
27 localrepository = local-main
28 remoterepository = madduck.net-bulk
29 autorefresh = 15
30 quick = 16
31
32 [Repository local-main]
33 type = Maildir
34 localfolders = ~/mail
35 sep = /
36
37 [Repository madduck.net]
38 type = IMAP
39 maxconnections = 3
40 holdconnectionopen = yes
41 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
42 expunge = yes
43 foldersort = py_foldersort_main
44 nametrans = py_nametrans_main
45 folderfilter = py_folderfilter_main
46 idlefolders = ['inbox', 'mass', 'debian', 'ul', 'phd', 'admin']
47
48 [Repository madduck.net-bulk]
49 type = IMAP
50 maxconnections = 3
51 holdconnectionopen = yes
52 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
53 expunge = yes
54 folderfilter = py_folderfilter_bulk
55
56 [Account logcheck]
57 localrepository = local-logcheck
58 remoterepository = logcheck
59 autorefresh = 15
60 quick = 16
61
62 [Repository local-logcheck]
63 type = Maildir
64 localfolders = ~/mail/debian/logcheck
65 sep = /
66
67 [Repository logcheck]
68 type = IMAP
69 remotehost = imap.madduck.net
70 ssl = yes
71 maxconnections = 1
72 holdconnectionopen = yes
73 remoteuser = logcheck-todo@madduck.net
74 remotepass = logcheck
75 expunge = yes
76 nametrans = lambda folder: re.sub('^INBOX', 'todo', folder)